From 7bfb643229dcfca466092a4c49e0963bb3b84b5b Mon Sep 17 00:00:00 2001 From: Aktiv Software Date: Wed, 20 Oct 2021 13:19:14 +0000 Subject: [PATCH] [FW][FIX] product: properly trigger computation of computed fields The two fields (name & price) were only updated on pricelist (`product.pricelist`) save, not when the rules were updated (`product.pricelist.item`). The reason was that name and price are compute fields, which were added to the tree view but not added to the form view. This commit adds "name" and "price" to the `product.pricelist.item` form view and hence the values will be updated as soon as the popup form is saved. Fixes: #78488 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr closes odoo/odoo#79748 Forward-port-of: odoo/odoo#78699 Signed-off-by: Victor Feyens (vfe) --- addons/product/views/product_pricelist_views.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/product/views/product_pricelist_views.xml b/addons/product/views/product_pricelist_views.xml index e31431a72c7..d27939b4777 100644 --- a/addons/product/views/product_pricelist_views.xml +++ b/addons/product/views/product_pricelist_views.xml @@ -93,6 +93,7 @@
+ @@ -105,6 +106,7 @@ +