Commit cac60c34 authored by Jérome Perrin's avatar Jérome Perrin

pass uids to getInventory

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27555 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a19b448e
No related merge requests found
......@@ -87,10 +87,10 @@ class BudgetCell(Predicate, MetaNode):
"""
Returns current inventory
"""
kw['node'] = self.getRelativeUrl()
kw['node_uid'] = self.getUid()
resource = self.getResourceValue()
if resource is not None:
kw['resource'] = resource.getRelativeUrl()
kw['resource_uid'] = resource.getUid()
return self.portal_simulation.getCurrentInventory(**kw)
security.declareProtected(Permissions.AccessContentsInformation, 'getCurrentBalance')
......
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