36 lines
999 B
Python
36 lines
999 B
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
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
restaurant.SaleShopTable,
|
|
restaurant.Reservation,
|
|
restaurant.PartyConsumer,
|
|
sale.Sale,
|
|
sale.SaleForceDraft,
|
|
sale.SaleLine,
|
|
sale.SaleMove,
|
|
shop.Shop,
|
|
production.Production,
|
|
product.ProductMixOption,
|
|
product.Product,
|
|
invoice.InvoiceLine,
|
|
agent.Agent,
|
|
module='sale_pos_frontend_rest', type_='model')
|
|
Pool.register(
|
|
sale.SaleSquareBoxGlobal,
|
|
module='sale_pos_frontend_rest', type_='wizard')
|
|
Pool.register(
|
|
sale.SaleSquareBoxGlobalReport,
|
|
module='sale_pos_frontend_rest', type_='report')
|