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
......@@ -259,11 +259,11 @@
<list>
<tuple>
<string>quantity</string>
<string>Base Salary</string>
<string>Base Value</string>
</tuple>
<tuple>
<string>price</string>
<string>Rate</string>
<string>Share</string>
</tuple>
</list>
</value>
......@@ -331,7 +331,7 @@
<list>
<tuple>
<string>None</string>
<string>Salary base</string>
<string>Base Value</string>
</tuple>
</list>
</value>
......
......@@ -156,7 +156,9 @@
</item>
<item>
<key> <string>input_style</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>precision</string> </key>
......@@ -203,7 +205,7 @@
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>5</int> </value>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
......@@ -259,7 +261,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Price</string> </value>
<value> <string>Share</string> </value>
</item>
<item>
<key> <string>viewable_expression</string> </key>
......@@ -302,4 +304,23 @@
</dictionary>
</pickle>
</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>
......@@ -146,6 +146,16 @@
</item>
<item>
<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>
</item>
<item>
......@@ -245,7 +255,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Quantity</string> </value>
<value> <string>Base Value</string> </value>
</item>
<item>
<key> <string>viewable_expression</string> </key>
......@@ -288,4 +298,23 @@
</dictionary>
</pickle>
</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>
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