From 6ce79d78c92bf30d1d0b3abb094313819cc869f5 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Thu, 26 Sep 2024 18:04:01 +0200 Subject: [PATCH] [IMP] joint_buying_product: Add tracking on order amount. however, it doesn't look to work for V12, but we hope it will work in V16. See: https://github.com/odoo/odoo/issues/31301 --- joint_buying_product/models/joint_buying_purchase_order.py | 1 + 1 file changed, 1 insertion(+) diff --git a/joint_buying_product/models/joint_buying_purchase_order.py b/joint_buying_product/models/joint_buying_purchase_order.py index 7ac62091..737acb72 100644 --- a/joint_buying_product/models/joint_buying_purchase_order.py +++ b/joint_buying_product/models/joint_buying_purchase_order.py @@ -175,6 +175,7 @@ class JointBuyingPurchaseOrder(models.Model): amount_untaxed = fields.Float( string="Total Untaxed Amount", compute="_compute_amount", + track_visibility=True, store=True, digits=dp.get_precision("Product Price"), )