Remove logger that makes the tests failing

As the logger outputs an error log during tests, travis counts it as a
failure of a test.
This commit is contained in:
Guewen Baconnier
2020-05-26 08:52:11 +02:00
committed by Sébastien Alix
parent acd988189e
commit fe203b87ba

View File

@@ -172,7 +172,6 @@ class StockReserveRuleRemoval(models.Model):
).format(
removal_rule.name, removal_rule.rule_id.location_id.display_name,
)
_logger.error("Rule '%s' - %s", removal_rule.rule_id.name, msg)
raise ValidationError(msg)
def _eval_quant_domain(self, quants, domain):