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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
erp5
Commits
628701f6
Commit
628701f6
authored
Dec 05, 2019
by
Xiaowu Zhang
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_production_planning: don't include not editable production order
parent
8809344c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
bt5/erp5_production_planning/WorkflowTemplateItem/portal_workflow/production_planning_interaction_workflow/scripts/ProductionPlanning_applyProductionPlanningChanges.py
...ipts/ProductionPlanning_applyProductionPlanningChanges.py
+2
-1
No files found.
bt5/erp5_production_planning/WorkflowTemplateItem/portal_workflow/production_planning_interaction_workflow/scripts/ProductionPlanning_applyProductionPlanningChanges.py
View file @
628701f6
...
...
@@ -30,7 +30,8 @@ for cell_keys in production_planning.getCellKeys():
# Check if it existes a production order for the date
kw
=
{
'portal_type'
:
'Production Order'
,
'delivery.start_date'
:
{
'query'
:
start_date
,
'type'
:
'date'
}
'delivery.start_date'
:
{
'query'
:
start_date
,
'type'
:
'date'
},
'simulation_state'
:
(
'planned'
,
'auto_planned'
)
}
production_order_list
=
catalog_method
(
**
kw
)
if
len
(
production_order_list
):
...
...
Xiaowu Zhang
@xiaowu.zhang
mentioned in commit
fa6c2a64
·
Dec 05, 2019
mentioned in commit
fa6c2a64
mentioned in commit fa6c2a64c77d2f05bdc2a69396b2b521fee77b57
Toggle commit list
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