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:
parent
03d72f473d
commit
a9382d5d0b
1 changed files with 0 additions and 3 deletions
|
|
@ -41,9 +41,6 @@ class ProductTemplate(models.Model):
|
||||||
list_price = fields.Float(
|
list_price = fields.Float(
|
||||||
string="Sale price with VAT",
|
string="Sale price with VAT",
|
||||||
help="Price calculated according to the configured pricelist, including 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')
|
digits=dp.get_precision('Product Price')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue