Commit 9827c9e3 authored by Romain Courteaud's avatar Romain Courteaud

Check that the line has a grouping reference

parent 0deb9c6e
...@@ -64,6 +64,7 @@ else:\n ...@@ -64,6 +64,7 @@ else:\n
for line in context.getMovementList(context.getPortalObject().getPortalAccountingMovementTypeList()):\n for line in context.getMovementList(context.getPortalObject().getPortalAccountingMovementTypeList()):\n
node_value = line.getSourceValue(portal_type=\'Account\')\n node_value = line.getSourceValue(portal_type=\'Account\')\n
if node_value.getAccountType() == \'asset/receivable\':\n if node_value.getAccountType() == \'asset/receivable\':\n
if not line.hasGroupingReference():\n
paid = False\n paid = False\n
break\n break\n
\n \n
......
326 327
\ 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