From b2cc8d494e20c8f092783f6ec7d012329c9346b0 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Sat, 25 Jan 2014 19:29:24 +0100 Subject: [PATCH] [FIX] UoM bzr revid: fp@tinyerp.com-20140125182924-yu5cynvpl3n7t22w --- addons/website_quotation/data/website_quotation_demo.xml | 1 + addons/website_quotation/models/order.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/website_quotation/data/website_quotation_demo.xml b/addons/website_quotation/data/website_quotation_demo.xml index 0f8fee26364..2979f2d5c3c 100644 --- a/addons/website_quotation/data/website_quotation_demo.xml +++ b/addons/website_quotation/data/website_quotation_demo.xml @@ -54,6 +54,7 @@ Partnership Contract + 45
diff --git a/addons/website_quotation/models/order.py b/addons/website_quotation/models/order.py index 34dbc2831ff..4a90605d5ba 100644 --- a/addons/website_quotation/models/order.py +++ b/addons/website_quotation/models/order.py @@ -130,7 +130,7 @@ class sale_order(osv.osv): 'discount': line.discount, 'product_uom_qty': line.product_uom_qty, 'product_id': line.product_id.id, - 'product_uom_id': line.product_id.uom_id.id, + 'product_uom': line.product_uom_id.id, 'website_description': line.website_description, 'state': 'draft', }))