Commit 08744f01 authored by Julien Muchembled's avatar Julien Muchembled

Fix erp5_accounting against r21048 now that 'cell' may be None instead of non-existent at all.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21049 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ba489a0f
...@@ -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: CONTEXTS.get(\'cell\', context).getObject().AccountingTransactionLine_getNodeItemList(mirror=1)</string> </value> <value> <string>python: (cell,context)[cell is None].getObject().AccountingTransactionLine_getNodeItemList(mirror=1)</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -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: CONTEXTS.get(\'cell\', context).getObject().AccountingTransactionLine_getNodeItemList()</string> </value> <value> <string>python: (cell,context)[cell is None].getObject().AccountingTransactionLine_getNodeItemList()</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -61,12 +61,6 @@ ...@@ -61,12 +61,6 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>items</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -96,20 +90,4 @@ ...@@ -96,20 +90,4 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:CONTEXTS.get(\'cell\', CONTEXTS[\'context\']).getObject().AccountingTransactionLine_getNodeItemList(mirror=1)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
701 702
\ 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