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 Adrià Gil Sorribes
parent 6ae07178c0
commit 3d49f527ae

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):