From a9382d5d0ba21d59ffffb218151dbf1ca003087c Mon Sep 17 00:00:00 2001 From: Luis Date: Wed, 8 Feb 2023 12:22:42 +0100 Subject: [PATCH] =?UTF-8?q?Quitado=20compute=20de=20list=5Fprice,=20siempr?= =?UTF-8?q?e=20se=20ejecuta=20mediante=20acci=C3=B3n=20humana.=20Provocaba?= =?UTF-8?q?=20errores=20en=20tienda=20online=20al=20ejecutarse=20el=20m?= =?UTF-8?q?=C3=A9todo=20de=20computaci=C3=B3n.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- product_update_price_last_purchase/models/product_template.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/product_update_price_last_purchase/models/product_template.py b/product_update_price_last_purchase/models/product_template.py index f89e7d2..fdaab14 100644 --- a/product_update_price_last_purchase/models/product_template.py +++ b/product_update_price_last_purchase/models/product_template.py @@ -41,9 +41,6 @@ class ProductTemplate(models.Model): list_price = fields.Float( string="Sale price with VAT", help="Price calculated according to the configured pricelist, including VAT.", - compute="_compute_theoritical_price", - store=True, - readonly=False, digits=dp.get_precision('Product Price') )