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,
|
2020-06-10 06:32:58 +02:00
|
|
|
sale.SaleForceDraft,
|
|
|
|
sale.SaleLine,
|
2021-04-07 15:24:17 +02:00
|
|
|
sale.SaleMove,
|
2020-06-10 06:32:58 +02:00
|
|
|
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')
|
2020-06-10 06:32:58 +02:00
|
|
|
Pool.register(
|
|
|
|
sale.SaleForceDraft,
|
|
|
|
module='sale_pos_frontend_rest', type_='wizard')
|