Commit 81e59976 authored by Titouan Soulard's avatar Titouan Soulard

erp5_trade: WIP add Inventory Offset Lines and Cells

parent acae9590
......@@ -74,6 +74,7 @@
</portal_type>
<portal_type id="Inventory">
<item>Inventory Line</item>
<item>Inventory Offset Line</item>
</portal_type>
<portal_type id="Inventory Line">
<item>Inventory Cell</item>
......
......@@ -35,10 +35,7 @@
<item>
<key> <string>group_list</string> </key>
<value>
<tuple>
<string>delivery_movement</string>
<string>inventory_movement</string>
</tuple>
<tuple/>
</value>
</item>
<item>
......@@ -57,13 +54,25 @@
<none/>
</value>
</item>
<item>
<key> <string>short_title</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>type_class</string> </key>
<value> <string>InventoryCell</string> </value>
<value> <string>MappedValue</string> </value>
</item>
<item>
<key> <string>type_interface</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
......
......@@ -62,10 +62,7 @@
<item>
<key> <string>group_list</string> </key>
<value>
<tuple>
<string>delivery_movement</string>
<string>inventory_movement</string>
</tuple>
<tuple/>
</value>
</item>
<item>
......@@ -92,6 +89,12 @@
</tuple>
</value>
</item>
<item>
<key> <string>short_title</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Base Type" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>acquire_local_roles</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>content_icon</string> </key>
<value> <string>inventory_line_icon.gif</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Inventory Offset Line</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>permission</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>searchable_text_property_id</string> </key>
<value>
<tuple>
<string>title</string>
<string>description</string>
<string>short_title</string>
</tuple>
</value>
</item>
<item>
<key> <string>short_title</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>type_class</string> </key>
<value> <string>InventoryOffsetLine</string> </value>
</item>
<item>
<key> <string>type_interface</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -72,6 +72,12 @@
<none/>
</value>
</item>
<item>
<key> <string>short_title</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
......
......@@ -75,6 +75,10 @@
<type>Inventory Line</type>
<workflow>edit_workflow, pricing_interaction_workflow, trade_matrix_workflow</workflow>
</chain>
<chain>
<type>Inventory Offset Line</type>
<workflow>edit_workflow, pricing_interaction_workflow, trade_matrix_workflow</workflow>
</chain>
<chain>
<type>Inventory Report</type>
<workflow>edit_workflow, inventory_report_workflow</workflow>
......
......@@ -10,14 +10,14 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>all_columns</string>
<string>columns</string>
<string>editable_columns</string>
<string>sort</string>
<string>title</string>
<string>portal_types</string>
<string>report_root_list</string>
<string>all_columns</string>
<string>selection_name</string>
<string>list_method</string>
<string>columns</string>
<string>sort</string>
<string>title</string>
</list>
</value>
</item>
......@@ -188,9 +188,14 @@
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>list_method</string> </key>
<key> <string>portal_types</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<list>
<tuple>
<string>Inventory Line</string>
<string>Inventory Line</string>
</tuple>
</list>
</value>
</item>
<item>
......@@ -237,17 +242,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Method" module="Products.Formulator.MethodField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>getMovementList</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -42,6 +42,7 @@ Inventory Module | Inventory
Inventory Report Module | Inventory Report
Inventory Report | Inventory Report Line
Inventory | Inventory Line
Inventory | Inventory Offset Line
Order Builder | First Causality Movement Group
Order Root Simulation Rule | Category Membership Divergence Tester
Order Root Simulation Rule | DateTime Divergence Tester
......
......@@ -25,6 +25,7 @@ Inventory
Inventory Cell
Inventory Line
Inventory Module
Inventory Offset Line
Inventory Report
Inventory Report Line
Inventory Report Module
......
......@@ -55,6 +55,9 @@ Inventory Cell | pricing_interaction_workflow
Inventory Line | edit_workflow
Inventory Line | pricing_interaction_workflow
Inventory Line | trade_matrix_workflow
Inventory Offset Line | edit_workflow
Inventory Offset Line | pricing_interaction_workflow
Inventory Offset Line | trade_matrix_workflow
Inventory Report Line | edit_workflow
Inventory Report | edit_workflow
Inventory Report | inventory_report_workflow
......
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