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 @@
</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>
...
...
bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Inventory%20Cell.xml
View file @
81e59976
...
...
@@ -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>
...
...
bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Inventory%20Line.xml
View file @
81e59976
...
...
@@ -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>
...
...
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 @@
<none/>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
...
...
bt5/erp5_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
View file @
81e59976
...
...
@@ -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>
...
...
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Inventory_view/listbox.xml
View file @
81e59976
...
...
@@ -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>
bt5/erp5_trade/bt/template_portal_type_allowed_content_type_list
View file @
81e59976
...
...
@@ -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
...
...
bt5/erp5_trade/bt/template_portal_type_id_list
View file @
81e59976
...
...
@@ -25,6 +25,7 @@ Inventory
Inventory Cell
Inventory Line
Inventory Module
Inventory Offset Line
Inventory Report
Inventory Report Line
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
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
...
...
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