trytonpsk-sale_pos_frontend.../__init__.py

32 lines
859 B
Python
Raw Normal View History

2020-04-15 21:49:23 +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.
from trytond.pool import Pool
2021-07-23 00:35:39 +02:00
from . import restaurant
from . import sale
from . import production
from . import product
from . import invoice
2021-08-20 21:59:59 +02:00
from . import agent
2020-04-15 21:49:23 +02:00
def register():
Pool.register(
restaurant.SaleShopTable,
restaurant.Reservation,
2020-07-22 06:26:28 +02:00
restaurant.PartyConsumer,
2020-04-15 21:49:23 +02:00
sale.Shop,
sale.Sale,
sale.SaleForceDraft,
sale.SaleLine,
sale.SaleMove,
production.Production,
2021-01-30 13:52:10 +01:00
product.ProductMixOption,
product.Product,
2020-06-10 14:28:23 +02:00
invoice.InvoiceLine,
2021-08-20 21:59:59 +02:00
agent.Agent,
2020-04-15 21:49:23 +02:00
module='sale_pos_frontend_rest', type_='model')
Pool.register(
sale.SaleForceDraft,
module='sale_pos_frontend_rest', type_='wizard')