Commit 8372ee18 authored by Jérome Perrin's avatar Jérome Perrin

remove "Source" from the name of Entity_getAccountingTransactionSourceGapId


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5613 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2d402ea6
......@@ -66,9 +66,9 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>account = brain.getObject().getSourceValue()\n
if account is not None:\n
return account.Account_getGapId()\n
<value> <string>account_uid = brain.account_uid\n
account = context.portal_catalog.getObject(account_uid)\n
return account.Account_getGapId()\n
</string> </value>
</item>
<item>
......@@ -79,11 +79,11 @@ if account is not None:\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/portal_skins/erp5_accounting/Entity_getAccountingTransactionSourceGapId</string> </value>
<value> <string>Script (Python):/erp5/portal_skins/erp5_accounting/Entity_getAccountingTransactionGapId</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>brain, selection</string> </value>
<value> <string>brain=None, selection=None</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
......@@ -112,8 +112,9 @@ if account is not None:\n
<string>brain</string>
<string>selection</string>
<string>_getattr_</string>
<string>account_uid</string>
<string>context</string>
<string>account</string>
<string>None</string>
</tuple>
</value>
</item>
......@@ -125,12 +126,19 @@ if account is not None:\n
<item>
<key> <string>func_defaults</string> </key>
<value>
<tuple>
<none/>
<none/>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Entity_getAccountingTransactionSourceGapId</string> </value>
<value> <string>Entity_getAccountingTransactionGapId</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
......
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