Commit 5a3af9ec authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: serialise on business link to try grouping all user invoices movements

parent 8f18e912
......@@ -16,6 +16,7 @@ if trade_condition is None:
lock_tag = 'build_in_progress_%s_%s' % (business_link.getUid(), trade_condition.getUid())
if context.getPortalObject().portal_activities.countMessageWithTag(lock_tag) == 0:
business_link.serialize()
business_link.build(
ledger__uid=context.getPortalObject().portal_categories.ledger.automated.getUid(),
specialise__uid=trade_condition.getUid(),
......
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