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

Fix TALES for bank account on destination view of an accounting transaction...

Fix TALES for bank account on destination view of an accounting transaction line, and name this field
"Section Bank Account" like on the transaction view

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34504 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c8a0751f
......@@ -13,9 +13,9 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>title</string>
<string>items</string>
<string>enabled</string>
<string>items</string>
<string>title</string>
</list>
</value>
</item>
......@@ -88,6 +88,10 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_source_payment</string> </value>
......@@ -96,13 +100,19 @@
<key> <string>form_id</string> </key>
<value> <string>AccountingTransaction_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Bank Account</string> </value>
<value> <string>Section Bank Account</string> </value>
</item>
</dictionary>
</value>
......
......@@ -13,8 +13,8 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>title</string>
<string>enabled</string>
<string>title</string>
</list>
</value>
</item>
......@@ -74,6 +74,10 @@
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
......@@ -99,7 +103,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Bank Account</string> </value>
<value> <string>Section Bank Account</string> </value>
</item>
</dictionary>
</value>
......@@ -118,7 +122,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:here.getSourceValue(portal_type = \'Account\') is not None and here.getSourceValue(portal_type = \'Account\').isMemberOf(\'account_type/asset/cash\')</string> </value>
<value> <string>python:here.getDestinationValue(portal_type = \'Account\') is not None and here.getDestinationValue(portal_type = \'Account\').isMemberOf(\'account_type/asset/cash\')</string> </value>
</item>
</dictionary>
</pickle>
......
1168
\ No newline at end of file
1169
\ No newline at end of file
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