Quitado compute de list_price, siempre se ejecuta mediante acción humana. Provocaba errores en tienda online al ejecutarse el método de computación.

This commit is contained in:
Luis 2023-02-08 12:22:42 +01:00
parent 03d72f473d
commit a9382d5d0b

View file

@ -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')
)