Files
tryton/modules/sale_point/__init__.py
T

32 lines
936 B
Python
Raw Normal View History

2021-10-11 23:55:41 +02:00
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
2022-03-26 12:19:12 +01:00
from trytond.modules.sale.sale_reporting import Abstract
2021-10-11 23:55:41 +02:00
from trytond.pool import Pool
2021-12-11 17:58:44 +01:00
2022-03-26 12:19:12 +01:00
from . import account, product, sale, sale_reporting, stock
2021-10-11 23:55:41 +02:00
def register():
Pool.register(
sale.POS,
sale.POSSale,
sale.POSSaleLine,
sale.POSCashSession,
sale.POSCashSessionRelation,
sale.POSPayment,
sale.POSPaymentMethod,
sale.POSCashTransfer,
sale.POSCashTransferType,
product.Template,
product.Product,
product.GrossPrice,
stock.Move,
account.Move,
account.MoveLine,
module='sale_point', type_='model')
Pool.register(
sale.POSPay,
module='sale_point', type_='wizard')
2022-03-26 12:19:12 +01:00
Pool.register_mixin(sale_reporting.AbstractMixin, Abstract, 'sale_point')