Commit 0eba9830 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Fix Transformation Stock view.

Remove meaningless 'Order Quantity Unit' and 'Order Quantity' columns, and use
the translated title for the 'Quantity Unit' cells.
parent 73ac2399
......@@ -82,7 +82,7 @@
<value>
<list>
<string>listbox_variation_category_item_list</string>
<string>listbox_order_quantity_unit</string>
<string>listbox_quantity_unit_item</string>
</list>
</value>
</item>
......
......@@ -130,14 +130,6 @@
<string>variation_category_item_list</string>
<string>Variation</string>
</tuple>
<tuple>
<string>getQuantity</string>
<string>Order Quantity</string>
</tuple>
<tuple>
<string>order_quantity_unit</string>
<string>Order Quantity Unit</string>
</tuple>
<tuple>
<string>getCurrentInventory</string>
<string>Current</string>
......@@ -151,7 +143,7 @@
<string>Future</string>
</tuple>
<tuple>
<string>getQuantityUnit</string>
<string>quantity_unit_item</string>
<string>Unit</string>
</tuple>
</list>
......@@ -186,10 +178,6 @@
<key> <string>editable_columns</string> </key>
<value>
<list>
<tuple>
<string>order_quantity_unit</string>
<string>Order Quantity Unit</string>
</tuple>
<tuple>
<string>variation_category_item_list</string>
<string>Variation</string>
......
......@@ -10,13 +10,15 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>items</string>
<string>default</string>
<string>display_width</string>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_order_quantity_unit</string> </value>
<value> <string>listbox_quantity_unit_item</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -52,6 +54,16 @@
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -61,13 +73,11 @@
<value> <string></string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
......@@ -77,18 +87,30 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_view_mode_listbox_quantity_unit</string> </value>
<value> <string>my_string_field</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>listbox_quantity_unit_item</string> </value>
</item>
</dictionary>
</value>
</item>
......@@ -103,7 +125,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(x.getTranslatedLogicalPath(), x.getCategoryRelativeUrl(base=0)) for x in cell.getResourceValue().getQuantityUnitValueList()] or [(\'\', \'\')]</string> </value>
<value> <string>python: cell.getQuantityUnitValue().getTranslatedTitle()</string> </value>
</item>
</dictionary>
</pickle>
......
2011-05-27 arnaud.fontaine
* Remove meaningless 'Order Quantity Unit' and 'Order Quantity' columns, and use the translated title for the 'Quantity Unit' cells in Transformation Stock view.
2011-05-23 tatuya
* Add Stock view into Transformation portal type.
......
565
\ No newline at end of file
566
\ 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