Commit 4b428d74 authored by Kevin Deldycke's avatar Kevin Deldycke

Change matrix box rendering dynamically depending of the type of the contribution.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10842 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent db50a0bc
No related merge requests found
...@@ -259,11 +259,11 @@ ...@@ -259,11 +259,11 @@
<list> <list>
<tuple> <tuple>
<string>quantity</string> <string>quantity</string>
<string>Base Salary</string> <string>Base Value</string>
</tuple> </tuple>
<tuple> <tuple>
<string>price</string> <string>price</string>
<string>Rate</string> <string>Share</string>
</tuple> </tuple>
</list> </list>
</value> </value>
...@@ -331,7 +331,7 @@ ...@@ -331,7 +331,7 @@
<list> <list>
<tuple> <tuple>
<string>None</string> <string>None</string>
<string>Salary base</string> <string>Base Value</string>
</tuple> </tuple>
</list> </list>
</value> </value>
......
...@@ -156,7 +156,9 @@ ...@@ -156,7 +156,9 @@
</item> </item>
<item> <item>
<key> <string>input_style</string> </key> <key> <string>input_style</string> </key>
<value> <string></string> </value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>precision</string> </key> <key> <string>precision</string> </key>
...@@ -203,7 +205,7 @@ ...@@ -203,7 +205,7 @@
</item> </item>
<item> <item>
<key> <string>display_width</string> </key> <key> <string>display_width</string> </key>
<value> <int>5</int> </value> <value> <int>20</int> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
...@@ -259,7 +261,7 @@ ...@@ -259,7 +261,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Price</string> </value> <value> <string>Share</string> </value>
</item> </item>
<item> <item>
<key> <string>viewable_expression</string> </key> <key> <string>viewable_expression</string> </key>
...@@ -302,4 +304,23 @@ ...@@ -302,4 +304,23 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: (\'salary_range/france\' in cell.getCategoryList() or \'salary_range/france/forfait\' in cell.getCategoryList()) and "-1 234.5" or "-12.3%"</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -146,6 +146,16 @@ ...@@ -146,6 +146,16 @@
</item> </item>
<item> <item>
<key> <string>hidden</string> </key> <key> <string>hidden</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>input_style</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>precision</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
...@@ -245,7 +255,7 @@ ...@@ -245,7 +255,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Quantity</string> </value> <value> <string>Base Value</string> </value>
</item> </item>
<item> <item>
<key> <string>viewable_expression</string> </key> <key> <string>viewable_expression</string> </key>
...@@ -288,4 +298,23 @@ ...@@ -288,4 +298,23 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: (\'salary_range/france\' in cell.getCategoryList() or \'salary_range/france/forfait\' in cell.getCategoryList()) and True or False</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
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