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
|
2022-04-09 00:03:27 +02:00
|
|
|
from . import shop
|
2023-05-22 07:48:04 +02:00
|
|
|
from . import dash
|
2023-06-16 00:26:17 +02:00
|
|
|
from . import bom
|
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.Sale,
|
2020-06-10 06:32:58 +02:00
|
|
|
sale.SaleForceDraft,
|
|
|
|
sale.SaleLine,
|
2022-11-22 16:11:37 +01:00
|
|
|
sale.SaleLineHistoryDelete,
|
|
|
|
sale.SaleLineHistoryDeleteStart,
|
2021-04-07 15:24:17 +02:00
|
|
|
sale.SaleMove,
|
2023-05-05 18:18:01 +02:00
|
|
|
sale.OrderStatusTime,
|
2022-04-09 00:10:48 +02:00
|
|
|
shop.SaleShop,
|
2023-06-16 00:26:17 +02:00
|
|
|
bom.BOM,
|
2023-10-20 23:56:19 +02:00
|
|
|
# production.WorkStation,
|
|
|
|
# production.WorkStationPrinter,
|
|
|
|
production.TaskPrinter,
|
2023-10-27 15:25:53 +02:00
|
|
|
production.ConfigurationTask,
|
2023-06-16 00:26:17 +02:00
|
|
|
production.Task,
|
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,
|
2023-05-22 07:48:04 +02:00
|
|
|
dash.DashApp,
|
|
|
|
dash.AppRestOrder,
|
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(
|
2021-09-17 00:34:17 +02:00
|
|
|
sale.SaleSquareBoxGlobal,
|
2022-11-22 16:11:37 +01:00
|
|
|
sale.SaleLineHistoryDeleteWizard,
|
2020-06-10 06:32:58 +02:00
|
|
|
module='sale_pos_frontend_rest', type_='wizard')
|
2021-09-17 00:34:17 +02:00
|
|
|
Pool.register(
|
|
|
|
sale.SaleSquareBoxGlobalReport,
|
2022-11-22 16:11:37 +01:00
|
|
|
sale.SaleLineHistoryDeleteReport,
|
2021-09-17 00:34:17 +02:00
|
|
|
module='sale_pos_frontend_rest', type_='report')
|