From bd30f262ebfc1d586d4b5d96a89a56527ef6c375 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Mon, 31 Aug 2015 18:35:11 +0200 Subject: [PATCH] [FIX] purchase_double_validation: force price on PO lines Since e4dc50b, `unit_price` is computed on supplier info, and no more on pricelist. --- .../test/purchase_double_validation_demo.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/purchase_double_validation/test/purchase_double_validation_demo.yml b/addons/purchase_double_validation/test/purchase_double_validation_demo.yml index 5d090c9ba75..05171f9be69 100644 --- a/addons/purchase_double_validation/test/purchase_double_validation_demo.yml +++ b/addons/purchase_double_validation/test/purchase_double_validation_demo.yml @@ -4,10 +4,12 @@ order_line: - product_id: product.product_product_6 product_qty: 10 + price_unit: 400 - !record {model: purchase.order, id: purchase_order_12}: partner_id: base.res_partner_1 order_line: - product_id: product.product_product_12 product_qty: 10 + price_unit: 200