Commit 98bf87ca authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

simplify Invoice Rule.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32471 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7712535e
No related merge requests found
......@@ -58,15 +58,6 @@ class InvoiceRule(DeliveryRule):
invoice movements should not be accountable either.
"""
return 0
security.declareProtected(Permissions.ModifyPortalContent, 'expand')
def expand(self, applied_rule, **kw):
"""
Call expand defined on DeliveryRule.
"""
kw['delivery_movement_type_list'] = \
self.getPortalInvoiceMovementTypeList() + \
self.getPortalTaxMovementTypeList()
DeliveryRule.expand(self, applied_rule, **kw)
def _getInputMovementList(self, applied_rule):
"""Return list of movements from delivery"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment