Removed unused file

This commit is contained in:
Guillem Barba 2014-02-10 12:24:24 +01:00
parent 297e22d176
commit 04c3bd98fc
3 changed files with 1 additions and 27 deletions

View File

@ -1,4 +1,4 @@
Copyright (C) 2013 NaN·tic
Copyright (C) 2014 NaN·tic
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

View File

@ -1,14 +1,12 @@
# The COPYRIGHT file at the top level of this repository contains the full
# copyright notices and license terms.
from trytond.pool import Pool
from .sale import *
from .device import *
from .reporting import *
def register():
Pool.register(
Sale,
PosDevice,
module='sale_pos_esc', type_='model')
Pool.register(

24
sale.py
View File

@ -1,24 +0,0 @@
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from trytond.pool import PoolMeta
__metaclass__ = PoolMeta
class Sale:
__name__ = 'sale.sale'
@classmethod
def __setup__(cls):
super(Sale, cls).__setup__()
# cls.__rpc__.update({
# 'add_sum': RPC(readonly=False, instantiate=0),
# })
@classmethod
def add_sum(cls, sales):
super(Sale, cls).add_sum(sales)
# Configuration = Pool().get('sale_pos.configuration')
# configuration = Configuration(1)
# if configuration.display_port:
# sale._display.show_total(cls.browse(sales))