From 422f3b5d8a8068eef9b7bfa7527e2e8f121aa2ab Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Wed, 7 Oct 2015 16:27:02 +0200 Subject: [PATCH] [FIX] sale: prevent the change of product of a SO line when there are procurements When adding a line to a confirmed sale order, the procurements are automatically created, with this product. Therefore, the product of the line should no longer be changed, as otherwise, the product on the procurement would no longer be the same product than on the sale order line. To be able to change the product of a line on a confirmed sale order, you must therefore first delete all procurements. --- addons/sale/sale_view.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index 60649e75dd6..9260202a14a 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -186,11 +186,12 @@ +