Commit 6eadbcf9 authored by Julien Muchembled's avatar Julien Muchembled

Fix selection of payment rule with new simulation

parent 41a818b9
...@@ -57,7 +57,8 @@ if parent.getPortalType() != \'Applied Rule\':\n ...@@ -57,7 +57,8 @@ if parent.getPortalType() != \'Applied Rule\':\n
return False\n return False\n
\n \n
parent_rule = parent.getSpecialiseValue()\n parent_rule = parent.getSpecialiseValue()\n
if parent_rule.getPortalType() not in (\'Invoice Transaction Rule\',):\n if parent_rule.getPortalType() not in (\'Invoice Transaction Simulation Rule\',\n
\'Invoice Transaction Rule\'):\n
return False\n return False\n
\n \n
receivable_account_type_list = (\'asset/receivable\',)\n receivable_account_type_list = (\'asset/receivable\',)\n
......
1478 1479
\ No newline at end of file \ No newline at end of file
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