Commit 0b754793 authored by Alexandre Boeglin's avatar Alexandre Boeglin

* show price in PurchaseOrder_view

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

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20749 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3e0368c3
......@@ -42,6 +42,12 @@
<tuple/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value> <string>Base_edit</string> </value>
......@@ -125,6 +131,7 @@
<string>my_incoterm</string>
<string>my_delivery_mode</string>
<string>my_specialise_title</string>
<string>listbox_price</string>
</list>
</value>
</item>
......
......@@ -12,9 +12,7 @@
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>list_method</string>
</list>
<list/>
</value>
</item>
<item>
......@@ -82,12 +80,6 @@
<key> <string>form_id</string> </key>
<value> <string>PurchaseOrder_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
......@@ -98,20 +90,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<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>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>enabled</string>
</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>extra_context</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<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>
</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>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_quantity</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>OrderLine_viewFieldLibrary</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>
......@@ -96,11 +91,7 @@
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
......
......@@ -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>
......@@ -103,11 +98,7 @@
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
......@@ -125,7 +116,7 @@
<value> <string>OrderLine_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>items</string> </key>
<key> <string>items</string> </key>
<value>
<list/>
</value>
......
......@@ -83,7 +83,7 @@
<value>
<dictionary>
<item>
<key> <string>all_columns</string> </key>
<key> <string>all_columns</string> </key>
<value>
<list>
<tuple>
......@@ -107,7 +107,7 @@
<string>Quantity</string>
</tuple>
<tuple>
<string>getTotalQuantity</string>
<string>total_quantity</string>
<string>Total Quantity</string>
</tuple>
<tuple>
......@@ -115,11 +115,11 @@
<string>Unit</string>
</tuple>
<tuple>
<string>getPrice</string>
<string>price</string>
<string>Price</string>
</tuple>
<tuple>
<string>getTotalPrice</string>
<string>total_price</string>
<string>Total Price</string>
</tuple>
<tuple>
......@@ -130,7 +130,7 @@
</value>
</item>
<item>
<key> <string>columns</string> </key>
<key> <string>columns</string> </key>
<value>
<list>
<tuple>
......@@ -154,7 +154,7 @@
<string>Quantity</string>
</tuple>
<tuple>
<string>getTotalQuantity</string>
<string>total_quantity</string>
<string>Total Quantity</string>
</tuple>
<tuple>
......@@ -162,11 +162,11 @@
<string>Unit</string>
</tuple>
<tuple>
<string>getPrice</string>
<string>price</string>
<string>Price</string>
</tuple>
<tuple>
<string>getTotalPrice</string>
<string>total_price</string>
<string>Total Price</string>
</tuple>
<tuple>
......@@ -177,7 +177,7 @@
</value>
</item>
<item>
<key> <string>editable_columns</string> </key>
<key> <string>editable_columns</string> </key>
<value>
<list>
<tuple>
......@@ -196,6 +196,10 @@
<string>quantity_unit</string>
<string>Unit</string>
</tuple>
<tuple>
<string>price</string>
<string>Price</string>
</tuple>
<tuple>
<string>stop_date</string>
<string>Delivery Date</string>
......@@ -212,7 +216,7 @@
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>portal_types</string> </key>
<key> <string>portal_types</string> </key>
<value>
<list>
<tuple>
......@@ -223,7 +227,7 @@
</value>
</item>
<item>
<key> <string>report_root_list</string> </key>
<key> <string>report_root_list</string> </key>
<value>
<list>
<tuple>
......@@ -238,15 +242,15 @@
</value>
</item>
<item>
<key> <string>report_tree</string> </key>
<key> <string>report_tree</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>selection_name</string> </key>
<key> <string>selection_name</string> </key>
<value> <string>purchase_order_line_selection</string> </value>
</item>
<item>
<key> <string>sort</string> </key>
<key> <string>sort</string> </key>
<value>
<list>
<tuple>
......@@ -261,7 +265,7 @@
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<key> <string>title</string> </key>
<value> <string>Purchase Order Lines</string> </value>
</item>
</dictionary>
......
338
\ No newline at end of file
340
\ 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