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
Frederic Thoma
erp5
Commits
4deddaa4
Commit
4deddaa4
authored
Oct 27, 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: Fix/update test Transformation Simulation Rule and select for Manufacturing Order Builder
parent
a4c23866
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ManufacturingOrderBuilder_selectSimulationMovement.py
...mrp/ManufacturingOrderBuilder_selectSimulationMovement.py
+1
-2
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/SimulationMovement_testTransformationSimulationRule.py
...rp/SimulationMovement_testTransformationSimulationRule.py
+1
-3
No files found.
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ManufacturingOrderBuilder_selectSimulationMovement.py
View file @
4deddaa4
result_list
=
context
.
portal_catalog
(
parent_specialise_reference
=
"default_production_manufacturing_rule"
,
grand_parent_simulation_state
=
(
"confirmed"
,
"planned"
),
parent_specialise_reference
=
"default_production_rule"
,
delivery_uid
=
None
,
left_join_list
=
(
"delivery_uid"
,),
select_list
=
(
"delivery_uid"
,),
...
...
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/SimulationMovement_testTransformationSimulationRule.py
View file @
4deddaa4
...
...
@@ -9,7 +9,5 @@ if (len(specialise_list) == 1 and
return
True
# Case Manufacturing Order is generated by Simulation
if
parent_specialise_portal_type
==
"Production Simulation Rule"
:
movement
=
context
.
getDeliveryValue
()
return
movement
is
not
None
and
movement
.
getPortalType
()
in
(
"Manufacturing Order Line"
,
"Manufacturing Order Cell"
)
return
True
return
False
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