diff --git a/product/ERP5/Document/TaxRule.py b/product/ERP5/Document/TaxRule.py index 00bb44a5b932d81e0fe1e1c67ae61e24235b0e2e..48b01d256f73afccc9d2014f1d6b0067c72cfbed 100644 --- a/product/ERP5/Document/TaxRule.py +++ b/product/ERP5/Document/TaxRule.py @@ -105,13 +105,3 @@ class TaxRule(DeliveryRule): # Pass to base class Rule.expand(self, applied_rule, force=force, **kw) - def test(self, context, *args, **kw): - """Test if this rule can be applied. - - We return false immediatly if the rule won't create any simulation - movement, to prevent creating an empty applied rule. - """ - if not (context.DeliveryMovement_getCorrespondingTaxLineList()): - return False - return DeliveryRule.test(self, context, *args, **kw) -