diff --git a/beesdoo_product/models/beesdoo_product.py b/beesdoo_product/models/beesdoo_product.py index 2195e5d..a30f951 100644 --- a/beesdoo_product/models/beesdoo_product.py +++ b/beesdoo_product/models/beesdoo_product.py @@ -21,7 +21,7 @@ class ResPartner(models.Model): def _check_margin(self): for product in self: if product.profit_margin < 0.0: - raise UserError(_("Percentages for Profit Margin must > 0.")) + raise UserError(_("Percentages for Profit Margin must >= 0.")) class BeesdooProduct(models.Model): @@ -321,7 +321,7 @@ class BeesdooProductCategory(models.Model): def _check_margin(self): for product in self: if product.profit_margin < 0.0: - raise UserError(_("Percentages for Profit Margin must > 0.")) + raise UserError(_("Percentages for Profit Margin must >= 0.")) class BeesdooProductSupplierInfo(models.Model):