|
@@ -7,6 +7,7 @@ import logging
|
|
|
|
|
|
LOGGER = logging.getLogger(__name__)
|
|
|
|
|
|
+
|
|
|
class PosSales(http.Controller):
|
|
|
|
|
|
#################
|
|
@@ -86,7 +87,7 @@ class PosSales(http.Controller):
|
|
|
'user': get_current_user(),
|
|
|
'currencies': currencies,
|
|
|
'customers': get_customers(image_type=image_type),
|
|
|
- 'products': get_products(image_type=image_type)
|
|
|
+ 'products': get_products(image_type, map(lambda x: x.get('locationStock').get('id'), warehouses))
|
|
|
}
|
|
|
|
|
|
# Take data for payment
|