|
@@ -38,6 +38,7 @@ class PosSales(http.Controller):
|
|
|
from product_template import get_products
|
|
|
from product_pricelist import get_pricelists
|
|
|
from product_category import get_categories
|
|
|
+ from product_pack import get_product_packs
|
|
|
from account_payment_term import get_payment_terms
|
|
|
from res_bank import get_banks
|
|
|
from res_bank_payment_type import get_bank_payment_types
|
|
@@ -74,6 +75,7 @@ class PosSales(http.Controller):
|
|
|
'journals': get_journals(),
|
|
|
'customers': get_customers(image_type),
|
|
|
'products': get_products(image_type, map(lambda x: x.get('locationStock').get('id'), warehouses)),
|
|
|
+ 'packs': get_product_packs(),
|
|
|
'pricelists': get_pricelists('sale'),
|
|
|
'categories': get_categories(),
|
|
|
'paymentTerms': get_payment_terms(),
|