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 @@ ...@@ -74,6 +74,7 @@
</portal_type> </portal_type>
<portal_type id="Inventory"> <portal_type id="Inventory">
<item>Inventory Line</item> <item>Inventory Line</item>
<item>Inventory Offset Line</item>
</portal_type> </portal_type>
<portal_type id="Inventory Line"> <portal_type id="Inventory Line">
<item>Inventory Cell</item> <item>Inventory Cell</item>
......
...@@ -35,10 +35,7 @@ ...@@ -35,10 +35,7 @@
<item> <item>
<key> <string>group_list</string> </key> <key> <string>group_list</string> </key>
<value> <value>
<tuple> <tuple/>
<string>delivery_movement</string>
<string>inventory_movement</string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
...@@ -57,13 +54,25 @@ ...@@ -57,13 +54,25 @@
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>short_title</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>type_class</string> </key> <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> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -62,10 +62,7 @@ ...@@ -62,10 +62,7 @@
<item> <item>
<key> <string>group_list</string> </key> <key> <string>group_list</string> </key>
<value> <value>
<tuple> <tuple/>
<string>delivery_movement</string>
<string>inventory_movement</string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
...@@ -92,6 +89,12 @@ ...@@ -92,6 +89,12 @@
</tuple> </tuple>
</value> </value>
</item> </item>
<item>
<key> <string>short_title</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <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 @@ ...@@ -72,6 +72,12 @@
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>short_title</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
...@@ -75,6 +75,10 @@ ...@@ -75,6 +75,10 @@
<type>Inventory Line</type> <type>Inventory Line</type>
<workflow>edit_workflow, pricing_interaction_workflow, trade_matrix_workflow</workflow> <workflow>edit_workflow, pricing_interaction_workflow, trade_matrix_workflow</workflow>
</chain> </chain>
<chain>
<type>Inventory Offset Line</type>
<workflow>edit_workflow, pricing_interaction_workflow, trade_matrix_workflow</workflow>
</chain>
<chain> <chain>
<type>Inventory Report</type> <type>Inventory Report</type>
<workflow>edit_workflow, inventory_report_workflow</workflow> <workflow>edit_workflow, inventory_report_workflow</workflow>
......
...@@ -10,14 +10,14 @@ ...@@ -10,14 +10,14 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>all_columns</string>
<string>columns</string>
<string>editable_columns</string> <string>editable_columns</string>
<string>sort</string> <string>portal_types</string>
<string>title</string>
<string>report_root_list</string> <string>report_root_list</string>
<string>all_columns</string>
<string>selection_name</string> <string>selection_name</string>
<string>list_method</string> <string>sort</string>
<string>columns</string> <string>title</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -188,9 +188,14 @@ ...@@ -188,9 +188,14 @@
<value> <string>Base_viewTradeFieldLibrary</string> </value> <value> <string>Base_viewTradeFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>list_method</string> </key> <key> <string>portal_types</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <list>
<tuple>
<string>Inventory Line</string>
<string>Inventory Line</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -237,17 +242,4 @@ ...@@ -237,17 +242,4 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </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> </ZopeData>
...@@ -42,6 +42,7 @@ Inventory Module | Inventory ...@@ -42,6 +42,7 @@ Inventory Module | Inventory
Inventory Report Module | Inventory Report Inventory Report Module | Inventory Report
Inventory Report | Inventory Report Line Inventory Report | Inventory Report Line
Inventory | Inventory Line Inventory | Inventory Line
Inventory | Inventory Offset Line
Order Builder | First Causality Movement Group Order Builder | First Causality Movement Group
Order Root Simulation Rule | Category Membership Divergence Tester Order Root Simulation Rule | Category Membership Divergence Tester
Order Root Simulation Rule | DateTime Divergence Tester Order Root Simulation Rule | DateTime Divergence Tester
......
...@@ -25,6 +25,7 @@ Inventory ...@@ -25,6 +25,7 @@ Inventory
Inventory Cell Inventory Cell
Inventory Line Inventory Line
Inventory Module Inventory Module
Inventory Offset Line
Inventory Report Inventory Report
Inventory Report Line Inventory Report Line
Inventory Report Module Inventory Report Module
......
...@@ -55,6 +55,9 @@ Inventory Cell | pricing_interaction_workflow ...@@ -55,6 +55,9 @@ Inventory Cell | pricing_interaction_workflow
Inventory Line | edit_workflow Inventory Line | edit_workflow
Inventory Line | pricing_interaction_workflow Inventory Line | pricing_interaction_workflow
Inventory Line | trade_matrix_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 Line | edit_workflow
Inventory Report | edit_workflow Inventory Report | edit_workflow
Inventory Report | inventory_report_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