From f8b4a5e2fe05b6c730b7d7dfa463bd8c709a4ffe Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Wed, 23 Sep 2015 17:54:42 +0200 Subject: [PATCH] [FIX] website_sale: `ean13` product field has been renamed `barcode` --- addons/website_sale/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_sale/controllers/main.py b/addons/website_sale/controllers/main.py index c1ff89f8049..63e32204c2d 100644 --- a/addons/website_sale/controllers/main.py +++ b/addons/website_sale/controllers/main.py @@ -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,