Commit d7f38a71 authored by Łukasz Nowak's avatar Łukasz Nowak

- change listbox on Production Report and Packing List a bit - use...

- change listbox on Production Report and Packing List a bit - use getMovementList instead of contentValues, to show cells in case of variations, also add variation_title to column

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22165 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d9e2b1ab
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
<string>title</string> <string>title</string>
<string>columns</string> <string>columns</string>
<string>all_columns</string> <string>all_columns</string>
<string>list_method</string>
<string>selection_name</string> <string>selection_name</string>
<string>portal_types</string> <string>portal_types</string>
</list> </list>
...@@ -98,6 +99,10 @@ ...@@ -98,6 +99,10 @@
<string>resource_title</string> <string>resource_title</string>
<string>Resource</string> <string>Resource</string>
</tuple> </tuple>
<tuple>
<string>variation_title</string>
<string>Variation</string>
</tuple>
<tuple> <tuple>
<string>quantity</string> <string>quantity</string>
<string>Quantity</string> <string>Quantity</string>
...@@ -145,6 +150,10 @@ ...@@ -145,6 +150,10 @@
<string>resource_title</string> <string>resource_title</string>
<string>Resource</string> <string>Resource</string>
</tuple> </tuple>
<tuple>
<string>variation_title</string>
<string>Variation</string>
</tuple>
<tuple> <tuple>
<string>quantity</string> <string>quantity</string>
<string>Quantity</string> <string>Quantity</string>
...@@ -180,15 +189,16 @@ ...@@ -180,15 +189,16 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>ProductionOrder_viewFieldLibrary</string> </value> <value> <string>ProductionOrder_viewFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>portal_types</string> </key> <key> <string>portal_types</string> </key>
<value> <value>
<list> <list/>
<tuple>
<string>Production Packing List Line</string>
<string>Production Packing List Line</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -209,4 +219,20 @@ ...@@ -209,4 +219,20 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </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>getMovementList</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
<list> <list>
<string>title</string> <string>title</string>
<string>selection_name</string> <string>selection_name</string>
<string>portal_types</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -84,17 +83,6 @@ ...@@ -84,17 +83,6 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>ProductionPackingList_viewFieldLibrary</string> </value> <value> <string>ProductionPackingList_viewFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>portal_types</string> </key>
<value>
<list>
<tuple>
<string>Production Report Line</string>
<string>Production Report Line</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>production_report_line_selection</string> </value> <value> <string>production_report_line_selection</string> </value>
......
304 305
\ 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