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

Use some TALES expression that works with erp5_ods_style where cell is not present

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19037 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent db05c7f1
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>items</string> </key> <key> <string>items</string> </key>
<value> <value>
<list/> <list/>
</value> </value>
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Mirror Node Account</string> </value> <value> <string>Mirror Node Account</string> </value>
</item> </item>
</dictionary> </dictionary>
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:cell.getObject().AccountingTransactionLine_getNodeItemList(mirror=1)</string> </value> <value> <string>python: CONTEXTS.get(\'cell\', context).getObject().AccountingTransactionLine_getNodeItemList(mirror=1)</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>items</string> </key> <key> <string>items</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
...@@ -74,6 +74,10 @@ ...@@ -74,6 +74,10 @@
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
...@@ -90,7 +94,7 @@ ...@@ -90,7 +94,7 @@
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>items</string> </key> <key> <string>items</string> </key>
<value> <value>
<list/> <list/>
</value> </value>
...@@ -100,7 +104,7 @@ ...@@ -100,7 +104,7 @@
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Node Account</string> </value> <value> <string>Node Account</string> </value>
</item> </item>
</dictionary> </dictionary>
...@@ -112,18 +116,15 @@ ...@@ -112,18 +116,15 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<string>Products.Formulator.TALESField</string> <tuple/>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:cell.getObject().AccountingTransactionLine_getNodeItemList()</string> </value> <value> <string>python: CONTEXTS.get(\'cell\', context).getObject().AccountingTransactionLine_getNodeItemList()</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
568 569
\ No newline at end of file \ 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