Commit 620afa22 authored by Jérome Perrin's avatar Jérome Perrin

completly disable payment rule until it's fixed


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26096 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 15c2a24d
......@@ -160,6 +160,10 @@ class PaymentRule(Rule):
def test(self, context, tested_base_category_list=None):
"""Test if this rule apply.
"""
# XXX for now disable this rule
return False
if context.getParentValue()\
.getSpecialiseValue().getPortalType() == 'Payment Rule':
return False
......
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