[Erp5-report] r6375 - /erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_ac...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Mar 31 01:43:48 CEST 2006
Author: kevin
Date: Fri Mar 31 01:43:47 2006
New Revision: 6375
URL: http://svn.erp5.org?rev=6375&view=rev
Log:
* Use section_portal_type_list to break acquisition of 'group' property from Person to Organisation.
* Remove unnecessary commented lines.
Modified:
erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBalance.xml
Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBalance.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBalance.xml?rev=6375&r1=6374&r2=6375&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBalance.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBalance.xml Fri Mar 31 01:43:47 2006
@@ -93,12 +93,12 @@
if kw.get(\'omit_output\') :\n
kwd[\'omit_output\'] = 1\n
\n
-# return context.portal_simulation.getInventory(node_uid=context.getUid(),\n
-# omit_simulation=1,\n
-# **kwd)\n
-return context.portal_simulation.getInventoryAssetPrice(node_uid=context.getUid(),\n
- omit_simulation=1,\n
- **kwd)\n
+kwd[\'section_portal_type_list\'] = [\'Organisation\']\n
+\n
+return context.portal_simulation.getInventoryAssetPrice( node_uid = context.getUid()\n
+ , omit_simulation = 1\n
+ , **kwd\n
+ )\n
</string> </value>
</item>
<item>
More information about the Erp5-report
mailing list