mirror of
https://github.com/NaN-tic/trytond-sale_pos_esc.git
synced 2023-12-13 21:20:19 +01:00
Removed unused file
This commit is contained in:
parent
297e22d176
commit
04c3bd98fc
|
@ -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
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,14 +1,12 @@
|
||||||
# The COPYRIGHT file at the top level of this repository contains the full
|
# The COPYRIGHT file at the top level of this repository contains the full
|
||||||
# copyright notices and license terms.
|
# copyright notices and license terms.
|
||||||
from trytond.pool import Pool
|
from trytond.pool import Pool
|
||||||
from .sale import *
|
|
||||||
from .device import *
|
from .device import *
|
||||||
from .reporting import *
|
from .reporting import *
|
||||||
|
|
||||||
|
|
||||||
def register():
|
def register():
|
||||||
Pool.register(
|
Pool.register(
|
||||||
Sale,
|
|
||||||
PosDevice,
|
PosDevice,
|
||||||
module='sale_pos_esc', type_='model')
|
module='sale_pos_esc', type_='model')
|
||||||
Pool.register(
|
Pool.register(
|
||||||
|
|
24
sale.py
24
sale.py
|
@ -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))
|
|
Loading…
Reference in a new issue