trytonpsk-sale_pos_frontend.../__init__.py

29 lines
760 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
import restaurant
import sale
import production
import product
import invoice
def register():
Pool.register(
restaurant.SaleShopTable,
restaurant.Reservation,
restaurant.PartyConsumer,
sale.Shop,
sale.Sale,
sale.SaleForceDraft,
sale.SaleLine,
production.Production,
product.ProductMixOption,
product.Product,
invoice.InvoiceLine,
module='sale_pos_frontend_rest', type_='model')
Pool.register(
sale.SaleForceDraft,
module='sale_pos_frontend_rest', type_='wizard')