[FIX] website_sale: ean13 product field has been renamed barcode

This commit is contained in:
Christophe Simonis
2015-09-23 17:54:42 +02:00
parent 38a20af9b7
commit f8b4a5e2fe
+1 -1
View File
@@ -1000,7 +1000,7 @@ class website_sale(http.Controller):
product = line.product_id
ret.append({
'id': line.order_id and line.order_id.id,
'sku': product.ean13 or product.id,
'sku': product.barcode or product.id,
'name': product.name or '-',
'category': product.categ_id and product.categ_id.name or '-',
'price': line.price_unit,