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
amrani
erp5
Commits
1234cc0c
Commit
1234cc0c
authored
Oct 30, 2017
by
Cédric Le Ninivin
Committed by
Cédric Le Ninivin
Nov 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_mrp: Introduce Transformation Sourcing Internal Packing List Builder
parent
4deddaa4
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
515 additions
and
2 deletions
+515
-2
bt5/erp5_mrp/PathTemplateItem/portal_deliveries/transformation_sourcing_internal_packing_list_builder.xml
...transformation_sourcing_internal_packing_list_builder.xml
+136
-0
bt5/erp5_mrp/PathTemplateItem/portal_deliveries/transformation_sourcing_internal_packing_list_builder/base_variant_movement_group_in_line.xml
...king_list_builder/base_variant_movement_group_in_line.xml
+42
-0
bt5/erp5_mrp/PathTemplateItem/portal_deliveries/transformation_sourcing_internal_packing_list_builder/category_movement_group_on_delivery.xml
...king_list_builder/category_movement_group_on_delivery.xml
+63
-0
bt5/erp5_mrp/PathTemplateItem/portal_deliveries/transformation_sourcing_internal_packing_list_builder/category_movement_group_on_line.xml
..._packing_list_builder/category_movement_group_on_line.xml
+60
-0
bt5/erp5_mrp/PathTemplateItem/portal_deliveries/transformation_sourcing_internal_packing_list_builder/order_movement_group_on_delivery.xml
...packing_list_builder/order_movement_group_on_delivery.xml
+42
-0
bt5/erp5_mrp/PathTemplateItem/portal_deliveries/transformation_sourcing_internal_packing_list_builder/property_movement_group_on_delivery.xml
...king_list_builder/property_movement_group_on_delivery.xml
+52
-0
bt5/erp5_mrp/PathTemplateItem/portal_deliveries/transformation_sourcing_internal_packing_list_builder/variant_movement_group_on_cell.xml
...l_packing_list_builder/variant_movement_group_on_cell.xml
+43
-0
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/InternalPackingList_selectSourcingMovement.py
...ns/erp5_mrp/InternalPackingList_selectSourcingMovement.py
+8
-0
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/InternalPackingList_selectSourcingMovement.xml
...s/erp5_mrp/InternalPackingList_selectSourcingMovement.xml
+66
-0
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionPackingList_selectMovement.py
...al_skins/erp5_mrp/ProductionPackingList_selectMovement.py
+1
-2
bt5/erp5_mrp/bt/template_path_list
bt5/erp5_mrp/bt/template_path_list
+2
-0
No files found.
bt5/erp5_mrp/PathTemplateItem/portal_deliveries/transformation_sourcing_internal_packing_list_builder.xml
0 → 100644
View file @
1234cc0c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Delivery Builder"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
delivery_after_generation_script_id
</string>
</key>
<value>
<string>
ProductionDelivery_copyOrderProperties
</string>
</value>
</item>
<item>
<key>
<string>
delivery_cell_collect_order
</string>
</key>
<value>
<tuple>
<string>
VariantMovementGroup
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
delivery_cell_portal_type
</string>
</key>
<value>
<string>
Internal Packing List Cell
</string>
</value>
</item>
<item>
<key>
<string>
delivery_cell_separate_order
</string>
</key>
<value>
<tuple>
<string>
calculateAddQuantity
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
delivery_collect_order
</string>
</key>
<value>
<tuple>
<string>
PathMovementGroup
</string>
<string>
DateMovementGroup
</string>
<string>
SectionPathMovementGroup
</string>
<string>
OrderMovementGroup
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
delivery_line_collect_order
</string>
</key>
<value>
<tuple>
<string>
ResourceMovementGroup
</string>
<string>
BaseVariantMovementGroup
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
delivery_line_portal_type
</string>
</key>
<value>
<string>
Internal Packing List Line
</string>
</value>
</item>
<item>
<key>
<string>
delivery_module
</string>
</key>
<value>
<string>
internal_packing_list_module
</string>
</value>
</item>
<item>
<key>
<string>
delivery_portal_type
</string>
</key>
<value>
<string>
Internal Packing List
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
transformation_sourcing_internal_packing_list_builder
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Delivery Builder
</string>
</value>
</item>
<item>
<key>
<string>
simulation_select_method_id
</string>
</key>
<value>
<string>
InternalPackingList_selectSourcingMovement
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Transformation Sourcing Internal Packing List Builder
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
bt5/erp5_mrp/PathTemplateItem/portal_deliveries/transformation_sourcing_internal_packing_list_builder/base_variant_movement_group_in_line.xml
0 → 100644
View file @
1234cc0c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Base Variant Movement Group"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
collect_order_group/line
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
base_variant_movement_group_in_line
</string>
</value>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<int>
2
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Base Variant Movement Group
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
base_variant_movement_group_in_line
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_mrp/PathTemplateItem/portal_deliveries/transformation_sourcing_internal_packing_list_builder/category_movement_group_on_delivery.xml
0 → 100644
View file @
1234cc0c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Category Movement Group"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
divergence_scope/category
</string>
<string>
collect_order_group/delivery
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
category_movement_group_on_delivery
</string>
</value>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category Movement Group
</string>
</value>
</item>
<item>
<key>
<string>
tested_property
</string>
</key>
<value>
<tuple>
<string>
source
</string>
<string>
destination
</string>
<string>
source_section
</string>
<string>
destination_section
</string>
<string>
source_project
</string>
<string>
destination_project
</string>
<string>
source_payment
</string>
<string>
destination_payment
</string>
<string>
specialise
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
category_movement_group_on_delivery
</string>
</value>
</item>
<item>
<key>
<string>
update_always
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_mrp/PathTemplateItem/portal_deliveries/transformation_sourcing_internal_packing_list_builder/category_movement_group_on_line.xml
0 → 100644
View file @
1234cc0c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Category Movement Group"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
divergence_scope/category
</string>
<string>
collect_order_group/line
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
category_movement_group_on_line
</string>
</value>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category Movement Group
</string>
</value>
</item>
<item>
<key>
<string>
tested_property
</string>
</key>
<value>
<tuple>
<string>
resource
</string>
<string>
base_contribution
</string>
<string>
base_application
</string>
<string>
industrial_phase
</string>
<string>
quantity_unit
</string>
<string>
aggregate
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
category_movement_group_on_line
</string>
</value>
</item>
<item>
<key>
<string>
update_always
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_mrp/PathTemplateItem/portal_deliveries/transformation_sourcing_internal_packing_list_builder/order_movement_group_on_delivery.xml
0 → 100644
View file @
1234cc0c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Order Movement Group"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
collect_order_group/delivery
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
order_movement_group_on_delivery
</string>
</value>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Order Movement Group
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
order_movement_group_on_delivery
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_mrp/PathTemplateItem/portal_deliveries/transformation_sourcing_internal_packing_list_builder/property_movement_group_on_delivery.xml
0 → 100644
View file @
1234cc0c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Property Movement Group"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
divergence_scope/property
</string>
<string>
collect_order_group/delivery
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
property_movement_group_on_delivery
</string>
</value>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<int>
2
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Property Movement Group
</string>
</value>
</item>
<item>
<key>
<string>
tested_property
</string>
</key>
<value>
<tuple>
<string>
start_date
</string>
<string>
stop_date
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
property_movement_group_on_delivery
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_mrp/PathTemplateItem/portal_deliveries/transformation_sourcing_internal_packing_list_builder/variant_movement_group_on_cell.xml
0 → 100644
View file @
1234cc0c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variant Movement Group"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
collect_order_group/cell
</string>
<string>
divergence_scope/category
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variant_movement_group_on_cell
</string>
</value>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Variant Movement Group
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
variant_movement_group_on_cell
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/InternalPackingList_selectSourcingMovement.py
0 → 100644
View file @
1234cc0c
return
context
.
portal_catalog
(
explanation_portal_type
=
(
"Production Order"
,
"Manufacturing Order"
),
parent_specialise_portal_type
=
"Transformation Sourcing Simulation Rule"
,
delivery_uid
=
None
,
left_join_list
=
(
"delivery_uid"
,),
select_list
=
(
"delivery_uid"
,),
group_by
=
(
"uid"
,),
**
kw
)
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/InternalPackingList_selectSourcingMovement.xml
0 → 100644
View file @
1234cc0c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
**kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
InternalPackingList_selectSourcingMovement
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionPackingList_selectMovement.py
View file @
1234cc0c
return
context
.
portal_catalog
(
return
context
.
portal_catalog
(
explanation_portal_type
=
"Production Order"
,
explanation_portal_type
=
"Production Order"
,
parent_specialise_portal_type
=
(
"Delivery Simulation Rule"
,
parent_specialise_portal_type
=
"Delivery Simulation Rule"
,
"Transformation Sourcing Simulation Rule"
),
delivery_uid
=
None
,
delivery_uid
=
None
,
left_join_list
=
(
"delivery_uid"
,),
left_join_list
=
(
"delivery_uid"
,),
select_list
=
(
"delivery_uid"
,),
select_list
=
(
"delivery_uid"
,),
...
...
bt5/erp5_mrp/bt/template_path_list
View file @
1234cc0c
...
@@ -11,4 +11,6 @@ portal_deliveries/manufacturing_order_builder
...
@@ -11,4 +11,6 @@ portal_deliveries/manufacturing_order_builder
portal_deliveries/manufacturing_order_builder/**
portal_deliveries/manufacturing_order_builder/**
portal_deliveries/production_packing_list_builder
portal_deliveries/production_packing_list_builder
portal_deliveries/production_packing_list_builder/**
portal_deliveries/production_packing_list_builder/**
portal_deliveries/transformation_sourcing_internal_packing_list_builder
portal_deliveries/transformation_sourcing_internal_packing_list_builder/**
portal_domains/production_order_module_specialise_domain
portal_domains/production_order_module_specialise_domain
\ No newline at end of file
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