trytonpsk-sale_pos_frontend.../__init__.py

50 lines
1.4 KiB
Python
Raw Permalink 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
2022-04-09 00:03:27 +02:00
from . import shop
2023-05-22 07:48:04 +02:00
from . import dash
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,
sale.SaleForceDraft,
sale.SaleLine,
2022-11-22 16:11:37 +01:00
sale.SaleLineHistoryDelete,
sale.SaleLineHistoryDeleteStart,
sale.SaleMove,
2023-05-05 18:18:01 +02:00
sale.OrderStatusTime,
2022-04-09 00:10:48 +02:00
shop.SaleShop,
bom.BOM,
# production.WorkStation,
# production.WorkStationPrinter,
production.TaskPrinter,
2023-10-27 15:25:53 +02:00
production.ConfigurationTask,
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')
Pool.register(
2021-09-17 00:34:17 +02:00
sale.SaleSquareBoxGlobal,
2022-11-22 16:11:37 +01:00
sale.SaleLineHistoryDeleteWizard,
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')