mirror of
https://bitbucket.org/presik/trytonpsk-sale_pos_frontend_rest.git
synced 2023-12-14 06:12:59 +01:00
30 lines
783 B
Python
30 lines
783 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,
|
|
sale.SaleMove,
|
|
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')
|