Commit 6c6b6a96 authored by Sebastien Robin's avatar Sebastien Robin

2007-03-26 seb

* thanks to Jerome, put a portal type for cell wich is calculated by a tales expression

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20135 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c0784e40
...@@ -113,12 +113,14 @@ ...@@ -113,12 +113,14 @@
</item> </item>
<item> <item>
<key> <string>cell_portal_type</string> </key> <key> <string>cell_portal_type</string> </key>
<value> <string></string> </value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>columns</string> </key> <key> <string>columns</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -164,13 +166,13 @@ ...@@ -164,13 +166,13 @@
<item> <item>
<key> <string>lines</string> </key> <key> <string>lines</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
<key> <string>tabs</string> </key> <key> <string>tabs</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -217,7 +219,7 @@ ...@@ -217,7 +219,7 @@
</item> </item>
<item> <item>
<key> <string>cell_portal_type</string> </key> <key> <string>cell_portal_type</string> </key>
<value> <string>Sale Order Cell</string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>cell_range</string> </key> <key> <string>cell_range</string> </key>
...@@ -330,18 +332,19 @@ ...@@ -330,18 +332,19 @@
<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:here.DeliveryLine_asCellRange(matrixbox=1)[1]</string> </value> <value> <string encoding="cdata"><![CDATA[
python: [x.id for x in here.allowedContentTypes() if x.id.find(\'Cell\')>=0][0]
]]></string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
...@@ -349,18 +352,15 @@ ...@@ -349,18 +352,15 @@
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<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:here.DeliveryLine_asCellRange(matrixbox=1)[0]</string> </value> <value> <string>python:here.DeliveryLine_asCellRange(matrixbox=1)[1]</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
...@@ -368,11 +368,24 @@ ...@@ -368,11 +368,24 @@
<record id="4" aka="AAAAAAAAAAQ="> <record id="4" aka="AAAAAAAAAAQ=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<string>Products.Formulator.TALESField</string> <tuple/>
<string>TALESMethod</string> </tuple>
</tuple> </pickle>
<none/> <pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:here.DeliveryLine_asCellRange(matrixbox=1)[0]</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="5" aka="AAAAAAAAAAU=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -113,12 +113,14 @@ ...@@ -113,12 +113,14 @@
</item> </item>
<item> <item>
<key> <string>cell_portal_type</string> </key> <key> <string>cell_portal_type</string> </key>
<value> <string></string> </value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>columns</string> </key> <key> <string>columns</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -164,13 +166,13 @@ ...@@ -164,13 +166,13 @@
<item> <item>
<key> <string>lines</string> </key> <key> <string>lines</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
<key> <string>tabs</string> </key> <key> <string>tabs</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -217,7 +219,7 @@ ...@@ -217,7 +219,7 @@
</item> </item>
<item> <item>
<key> <string>cell_portal_type</string> </key> <key> <string>cell_portal_type</string> </key>
<value> <string>Sale Order Cell</string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>cell_range</string> </key> <key> <string>cell_range</string> </key>
...@@ -330,18 +332,19 @@ ...@@ -330,18 +332,19 @@
<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:here.DeliveryLine_asCellRange(matrixbox=1)[1]</string> </value> <value> <string encoding="cdata"><![CDATA[
python: [x.id for x in here.allowedContentTypes() if x.id.find(\'Cell\')>=0][0]
]]></string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
...@@ -349,18 +352,15 @@ ...@@ -349,18 +352,15 @@
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<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:here.DeliveryLine_asCellRange(matrixbox=1)[0]</string> </value> <value> <string>python:here.DeliveryLine_asCellRange(matrixbox=1)[1]</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
...@@ -368,11 +368,24 @@ ...@@ -368,11 +368,24 @@
<record id="4" aka="AAAAAAAAAAQ="> <record id="4" aka="AAAAAAAAAAQ=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<string>Products.Formulator.TALESField</string> <tuple/>
<string>TALESMethod</string> </tuple>
</tuple> </pickle>
<none/> <pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:here.DeliveryLine_asCellRange(matrixbox=1)[0]</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="5" aka="AAAAAAAAAAU=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
205 206
\ 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