Commit 510fd11d authored by Romain Courteaud's avatar Romain Courteaud

slapos_crm: do not pass a empty list of node_uid

parent d9341273
...@@ -5,7 +5,7 @@ for (_, brain) in enumerate(portal.portal_simulation.getInventoryList( ...@@ -5,7 +5,7 @@ for (_, brain) in enumerate(portal.portal_simulation.getInventoryList(
simulation_state=('stopped', 'delivered'), simulation_state=('stopped', 'delivered'),
group_by_mirror_section=True, group_by_mirror_section=True,
portal_type=portal.getPortalAccountingMovementTypeList(), portal_type=portal.getPortalAccountingMovementTypeList(),
node_uid=[x.uid for x in context.Base_getReceivableAccountList()], node_uid=[x.uid for x in context.Base_getReceivableAccountList()] or -1,
parent__ledger__uid=portal.portal_categories.ledger.automated.getUid(), parent__ledger__uid=portal.portal_categories.ledger.automated.getUid(),
grouping_reference=None grouping_reference=None
)): )):
......
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