Commit 6780bdf2 authored by Titouan Soulard's avatar Titouan Soulard

erp5_trade: rearrange views to display `inventory` instead of `quantity`

parent fa3bacdc
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<key> <string>right</string> </key> <key> <string>right</string> </key>
<value> <value>
<list> <list>
<string>my_quantity</string> <string>my_inventory</string>
<string>my_quantity_unit</string> <string>my_quantity_unit</string>
<string>my_price</string> <string>my_price</string>
<string>my_aggregate_title_list</string> <string>my_aggregate_title_list</string>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_quantity</string> </value> <value> <string>my_inventory</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
......
...@@ -86,11 +86,10 @@ ...@@ -86,11 +86,10 @@
<value> <value>
<list> <list>
<string>listbox_int_index</string> <string>listbox_int_index</string>
<string>listbox_quantity</string> <string>listbox_total_inventory</string>
<string>listbox_quantity_unit</string> <string>listbox_quantity_unit</string>
<string>listbox_reference</string> <string>listbox_reference</string>
<string>listbox_aggregate_title_list</string> <string>listbox_aggregate_title_list</string>
<string>listbox_price</string>
<string>listbox_stop_date</string> <string>listbox_stop_date</string>
<string>listbox_total_price</string> <string>listbox_total_price</string>
<string>listbox_variation_category_item_list</string> <string>listbox_variation_category_item_list</string>
......
...@@ -114,17 +114,13 @@ ...@@ -114,17 +114,13 @@
<string>Variation</string> <string>Variation</string>
</tuple> </tuple>
<tuple> <tuple>
<string>quantity</string> <string>total_inventory</string>
<string>Quantity</string> <string>Total Quantity</string>
</tuple> </tuple>
<tuple> <tuple>
<string>quantity_unit</string> <string>quantity_unit</string>
<string>Unit</string> <string>Unit</string>
</tuple> </tuple>
<tuple>
<string>price</string>
<string>Price</string>
</tuple>
<tuple> <tuple>
<string>total_price</string> <string>total_price</string>
<string>Total Price</string> <string>Total Price</string>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_price</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_view_mode_listbox_price</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_quantity</string> </value> <value> <string>listbox_total_inventory</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
......
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