[IMP] website_sale_aplicoop: remove redundant string= from Boolean fields (W8113)
This commit is contained in:
parent
26bfa028d1
commit
0eb7957a70
1 changed files with 0 additions and 2 deletions
|
|
@ -20,14 +20,12 @@ class ProductProduct(models.Model):
|
||||||
)
|
)
|
||||||
|
|
||||||
is_out_of_stock = fields.Boolean(
|
is_out_of_stock = fields.Boolean(
|
||||||
string="Is Out of Stock",
|
|
||||||
compute="_compute_stock_ribbons",
|
compute="_compute_stock_ribbons",
|
||||||
store=False,
|
store=False,
|
||||||
help="True if virtual_available <= 0",
|
help="True if virtual_available <= 0",
|
||||||
)
|
)
|
||||||
|
|
||||||
is_low_stock = fields.Boolean(
|
is_low_stock = fields.Boolean(
|
||||||
string="Is Low Stock",
|
|
||||||
compute="_compute_stock_ribbons",
|
compute="_compute_stock_ribbons",
|
||||||
store=False,
|
store=False,
|
||||||
help="True if 0 < virtual_available <= threshold",
|
help="True if 0 < virtual_available <= threshold",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue