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 @@
</item>
<item>
<key> <string>cell_portal_type</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>columns</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
......@@ -164,13 +166,13 @@
<item>
<key> <string>lines</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>tabs</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value>
</item>
<item>
......@@ -217,7 +219,7 @@
</item>
<item>
<key> <string>cell_portal_type</string> </key>
<value> <string>Sale Order Cell</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>cell_range</string> </key>
......@@ -330,18 +332,19 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<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>
</dictionary>
</pickle>
......@@ -349,18 +352,15 @@
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<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>
</dictionary>
</pickle>
......@@ -368,11 +368,24 @@
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<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>
</pickle>
<pickle>
......
......@@ -113,12 +113,14 @@
</item>
<item>
<key> <string>cell_portal_type</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>columns</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
......@@ -164,13 +166,13 @@
<item>
<key> <string>lines</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>tabs</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value>
</item>
<item>
......@@ -217,7 +219,7 @@
</item>
<item>
<key> <string>cell_portal_type</string> </key>
<value> <string>Sale Order Cell</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>cell_range</string> </key>
......@@ -330,18 +332,19 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<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>
</dictionary>
</pickle>
......@@ -349,18 +352,15 @@
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<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>
</dictionary>
</pickle>
......@@ -368,11 +368,24 @@
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<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>
</pickle>
<pickle>
......
205
\ No newline at end of file
206
\ 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