mirror of
https://bitbucket.org/presik/trytonpsk-sale_pos_frontend_rest.git
synced 2023-12-14 06:12:59 +01:00
49 lines
1.4 KiB
Python
49 lines
1.4 KiB
Python
# 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
|
|
from . import restaurant
|
|
from . import sale
|
|
from . import production
|
|
from . import product
|
|
from . import invoice
|
|
from . import agent
|
|
from . import shop
|
|
from . import dash
|
|
from . import bom
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
restaurant.SaleShopTable,
|
|
restaurant.Reservation,
|
|
restaurant.PartyConsumer,
|
|
sale.Sale,
|
|
sale.SaleForceDraft,
|
|
sale.SaleLine,
|
|
sale.SaleLineHistoryDelete,
|
|
sale.SaleLineHistoryDeleteStart,
|
|
sale.SaleMove,
|
|
sale.OrderStatusTime,
|
|
shop.SaleShop,
|
|
bom.BOM,
|
|
# production.WorkStation,
|
|
# production.WorkStationPrinter,
|
|
production.ConfigurationTask,
|
|
production.TaskPrinter,
|
|
production.Task,
|
|
product.ProductMixOption,
|
|
product.Product,
|
|
invoice.InvoiceLine,
|
|
agent.Agent,
|
|
dash.DashApp,
|
|
dash.AppRestOrder,
|
|
module='sale_pos_frontend_rest', type_='model')
|
|
Pool.register(
|
|
sale.SaleSquareBoxGlobal,
|
|
sale.SaleLineHistoryDeleteWizard,
|
|
module='sale_pos_frontend_rest', type_='wizard')
|
|
Pool.register(
|
|
sale.SaleSquareBoxGlobalReport,
|
|
sale.SaleLineHistoryDeleteReport,
|
|
module='sale_pos_frontend_rest', type_='report')
|