[IMP] website_sale_aplicoop: remove redundant string= from Boolean fields (W8113)

This commit is contained in:
snt 2026-04-07 23:39:49 +02:00
parent 26bfa028d1
commit 0eb7957a70

View file

@ -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",