Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
erp5
Commits
81e59976
Commit
81e59976
authored
Sep 17, 2024
by
Titouan Soulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_trade: WIP add Inventory Offset Lines and Cells
parent
acae9590
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
117 additions
and
29 deletions
+117
-29
bt5/erp5_trade/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
...eAllowedContentTypeTemplateItem/allowed_content_types.xml
+1
-0
bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Inventory%20Cell.xml
.../PortalTypeTemplateItem/portal_types/Inventory%20Cell.xml
+14
-5
bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Inventory%20Line.xml
.../PortalTypeTemplateItem/portal_types/Inventory%20Line.xml
+7
-4
bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Inventory%20Offset%20Line.xml
...peTemplateItem/portal_types/Inventory%20Offset%20Line.xml
+68
-0
bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Inventory.xml
...5_trade/PortalTypeTemplateItem/portal_types/Inventory.xml
+6
-0
bt5/erp5_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
...rtalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+4
-0
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Inventory_view/listbox.xml
...teItem/portal_skins/erp5_trade/Inventory_view/listbox.xml
+12
-20
bt5/erp5_trade/bt/template_portal_type_allowed_content_type_list
...5_trade/bt/template_portal_type_allowed_content_type_list
+1
-0
bt5/erp5_trade/bt/template_portal_type_id_list
bt5/erp5_trade/bt/template_portal_type_id_list
+1
-0
bt5/erp5_trade/bt/template_portal_type_workflow_chain_list
bt5/erp5_trade/bt/template_portal_type_workflow_chain_list
+3
-0
No files found.
bt5/erp5_trade/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
View file @
81e59976
...
@@ -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>
...
...
bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Inventory%20Cell.xml
View file @
81e59976
...
@@ -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>
...
...
bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Inventory%20Line.xml
View file @
81e59976
...
@@ -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>
...
...
bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Inventory%20Offset%20Line.xml
0 → 100644
View file @
81e59976
<?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>
bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Inventory.xml
View file @
81e59976
...
@@ -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>
...
...
bt5/erp5_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
View file @
81e59976
...
@@ -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>
...
...
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Inventory_view/listbox.xml
View file @
81e59976
...
@@ -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>
bt5/erp5_trade/bt/template_portal_type_allowed_content_type_list
View file @
81e59976
...
@@ -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
...
...
bt5/erp5_trade/bt/template_portal_type_id_list
View file @
81e59976
...
@@ -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
...
...
bt5/erp5_trade/bt/template_portal_type_workflow_chain_list
View file @
81e59976
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment