Commit a910e31b authored by Jérome Perrin's avatar Jérome Perrin

use cell.Movement_isQuantityEditable in editable TALES, and other minor proxyfication fixes

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41290 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d0f2f0ee
...@@ -11,11 +11,9 @@ ...@@ -11,11 +11,9 @@
<value> <value>
<list> <list>
<string>description</string> <string>description</string>
<string>title</string> <string>editable</string>
<string>css_class</string>
<string>external_validator</string> <string>external_validator</string>
<string>input_style</string> <string>title</string>
<string>display_width</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -58,11 +56,19 @@ ...@@ -58,11 +56,19 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>display_width</string> </key> <key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
</item> </item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -75,6 +81,10 @@ ...@@ -75,6 +81,10 @@
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
...@@ -82,14 +92,14 @@ ...@@ -82,14 +92,14 @@
<key> <string>values</string> </key> <key> <string>values</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>css_class</string> </key>
<value> <string>figure</string> </value>
</item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>Default Quantity of a resource in ERP5. It can be a product or it can be time quantity like hours or minutes for example. Quantity can be found in almost every business field of ERP5 and will always have this meaning, unless the term is different or precise, such as Priced Quantity for example.</string> </value> <value> <string>Default Quantity of a resource in ERP5. It can be a product or it can be time quantity like hours or minutes for example. Quantity can be found in almost every business field of ERP5 and will always have this meaning, unless the term is different or precise, such as Priced Quantity for example.</string> </value>
</item> </item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>external_validator</string> </key> <key> <string>external_validator</string> </key>
<value> <value>
...@@ -104,10 +114,6 @@ ...@@ -104,10 +114,6 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>input_style</string> </key>
<value> <string>-1 234.5</string> </value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
...@@ -130,7 +136,7 @@ ...@@ -130,7 +136,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: preferences.getPreference(\'preferred_quantity_field_width\', 5)</string> </value> <value> <string>python: cell is not None and cell.Movement_isQuantityEditable()</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
241 242
\ 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