Commit 85cdcc7c authored by Alexandre Boeglin's avatar Alexandre Boeglin

* show price in OrderLine_view

* hide price, quantity, quantity_unit for non-movements on OrderLine_view

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20756 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 45a2f960
......@@ -112,7 +112,6 @@
<string>listbox_int_index</string>
<string>listbox_start_date</string>
<string>listbox_stop_date</string>
<string>listbox_title</string>
<string>listbox_reference</string>
<string>listbox_quantity</string>
<string>listbox_quantity_unit</string>
......@@ -131,6 +130,7 @@
<string>my_amortisation_method</string>
<string>my_source_trade_title_list</string>
<string>my_base_contribution_list</string>
<string>listbox_price</string>
</list>
</value>
</item>
......
......@@ -74,7 +74,7 @@
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_order_cells_listbox</string> </value>
<value> <string>my_order_sub_lines_listbox</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
......
......@@ -9,15 +9,23 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
<list>
<string>enabled</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_title</string> </value>
<value> <string>listbox_price</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -35,15 +43,15 @@
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<key> <string>extra_context</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
......@@ -53,6 +61,16 @@
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>extra_context</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -72,22 +90,44 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>extra_context</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_title</string> </value>
<value> <string>my_quantity</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>DeliveryCell_viewFieldLibrary</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>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: cell.isMovement() and not cell.getVariationCategoryList()</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -20,7 +20,6 @@
<value>
<list>
<string>enabled</string>
<string>editable</string>
</list>
</value>
</item>
......@@ -63,15 +62,11 @@
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra_context</string> </key>
<value> <string></string> </value>
......@@ -95,10 +90,6 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
......@@ -134,7 +125,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>cell/isMovement</string> </value>
<value> <string>python: cell.isMovement() and not cell.getVariationCategoryList()</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -21,7 +21,6 @@
<list>
<string>items</string>
<string>enabled</string>
<string>editable</string>
</list>
</value>
</item>
......@@ -64,15 +63,11 @@
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra_context</string> </key>
<value> <string></string> </value>
......@@ -102,10 +97,6 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
......@@ -147,7 +138,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>cell/isMovement</string> </value>
<value> <string>python: cell.isMovement() and not cell.getVariationCategoryList()</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -100,7 +100,6 @@
<string>my_stop_date</string>
<string>my_title</string>
<string>my_variation_category_list</string>
<string>my_order_cells_listbox</string>
<string>my_total_price</string>
<string>my_total_quantity</string>
<string>my_amortisation_method</string>
......@@ -110,6 +109,7 @@
<string>my_resource_title</string>
<string>my_int_index</string>
<string>my_source_title</string>
<string>my_order_sub_lines_listbox</string>
</list>
</value>
</item>
......
......@@ -17,18 +17,16 @@
<string>columns</string>
<string>all_columns</string>
<string>sort</string>
<string>list_method</string>
<string>selection_name</string>
<string>portal_types</string>
<string>editable_columns</string>
<string>report_root_list</string>
<string>enabled</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_order_cells_listbox</string> </value>
<value> <string>my_order_sub_lines_listbox</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -118,13 +116,17 @@
<string>Title</string>
</tuple>
<tuple>
<string>source_title</string>
<string>resource_title</string>
<string>Resource</string>
</tuple>
<tuple>
<string>quantity</string>
<string>Quantity</string>
</tuple>
<tuple>
<string>total_quantity</string>
<string>Total Quantity</string>
</tuple>
<tuple>
<string>quantity_unit</string>
<string>Unit</string>
......@@ -134,16 +136,16 @@
<string>Price</string>
</tuple>
<tuple>
<string>getTotalPrice</string>
<string>total_price</string>
<string>Total Price</string>
</tuple>
<tuple>
<string>start_date</string>
<string>Begin</string>
<string>Begin Date</string>
</tuple>
<tuple>
<string>stop_date</string>
<string>End</string>
<string>End Date</string>
</tuple>
</list>
</value>
......@@ -165,13 +167,17 @@
<string>Title</string>
</tuple>
<tuple>
<string>source_title</string>
<string>resource_title</string>
<string>Resource</string>
</tuple>
<tuple>
<string>quantity</string>
<string>Quantity</string>
</tuple>
<tuple>
<string>total_quantity</string>
<string>Total Quantity</string>
</tuple>
<tuple>
<string>quantity_unit</string>
<string>Unit</string>
......@@ -181,16 +187,16 @@
<string>Price</string>
</tuple>
<tuple>
<string>getTotalPrice</string>
<string>total_price</string>
<string>Total Price</string>
</tuple>
<tuple>
<string>start_date</string>
<string>Begin</string>
<string>Begin Date</string>
</tuple>
<tuple>
<string>stop_date</string>
<string>End</string>
<string>End Date</string>
</tuple>
</list>
</value>
......@@ -199,6 +205,10 @@
<key> <string>editable_columns</string> </key>
<value>
<list>
<tuple>
<string>int_index</string>
<string>Index</string>
</tuple>
<tuple>
<string>reference</string>
<string>Reference</string>
......@@ -212,16 +222,16 @@
<string>Unit</string>
</tuple>
<tuple>
<string>start_date</string>
<string>Begin</string>
<string>price</string>
<string>Price</string>
</tuple>
<tuple>
<string>stop_date</string>
<string>End</string>
<string>start_date</string>
<string>Begin Date</string>
</tuple>
<tuple>
<string>int_index</string>
<string>Index</string>
<string>stop_date</string>
<string>End Date</string>
</tuple>
</list>
</value>
......@@ -238,32 +248,15 @@
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value>
</item>
<item>
<key> <string>portal_types</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>report_root_list</string> </key>
<value>
<list>
<tuple>
<string>parent</string>
<string>Document Tree</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>selection_name</string> </key>
<value> <string>project_selection</string> </value>
<value> <string>order_line_selection</string> </value>
</item>
<item>
<key> <string>sort</string> </key>
......@@ -271,11 +264,7 @@
<list>
<tuple>
<string>int_index</string>
<string>int_index</string>
</tuple>
<tuple>
<string>id</string>
<string>id</string>
<string>ascending</string>
</tuple>
</list>
</value>
......@@ -342,20 +331,4 @@
</dictionary>
</pickle>
</record>
<record id="5" aka="AAAAAAAAAAU=">
<pickle>
<tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>searchFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
342
\ No newline at end of file
343
\ 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