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

always enable quantity_unit, we don't define quantity_unit on cells.

Make it editable when quantity is editable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27295 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 76eeeb0f
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>title</string> <string>editable</string>
<string>items</string> <string>items</string>
<string>enabled</string> <string>title</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>editable</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
...@@ -81,6 +81,10 @@ ...@@ -81,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>
...@@ -88,6 +92,10 @@ ...@@ -88,6 +92,10 @@
<key> <string>values</string> </key> <key> <string>values</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_list_field</string> </value> <value> <string>my_list_field</string> </value>
...@@ -96,6 +104,12 @@ ...@@ -96,6 +104,12 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value> <value> <string>Base_viewTradeFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>items</string> </key>
<value>
<list/>
</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>
...@@ -121,7 +135,7 @@ ...@@ -121,7 +135,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.isMovement() and not here.getVariationCategoryList()</string> </value> <value> <string>context/Movement_isQuantityEditable</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
665 666
\ 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