Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dwsproject
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dws
dwsproject
Commits
2e1639c0
Commit
2e1639c0
authored
Jan 22, 2025
by
夏超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 上推领料单数据修改
parent
6dc2a20a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sdddl_project/controllers/inherit_picking.py
+2
-2
No files found.
sdddl_project/controllers/inherit_picking.py
View file @
2e1639c0
...
@@ -106,7 +106,7 @@ class InheritRokeWorkstationPicking(RokeWorkstationPicking):
...
@@ -106,7 +106,7 @@ class InheritRokeWorkstationPicking(RokeWorkstationPicking):
"demand_qty"
:
v
.
get
(
"demand_qty"
,
0
)
"demand_qty"
:
v
.
get
(
"demand_qty"
,
0
)
})
})
picking_type_id
=
http
.
request
.
env
.
sudo
()
.
ref
(
picking_type_id
=
http
.
request
.
env
.
ref
(
'roke_mes_stock.stock_picking_type_production_out'
,
'roke_mes_stock.stock_picking_type_production_out'
,
raise_if_not_found
=
False
raise_if_not_found
=
False
)
)
...
@@ -131,7 +131,7 @@ class InheritRokeWorkstationPicking(RokeWorkstationPicking):
...
@@ -131,7 +131,7 @@ class InheritRokeWorkstationPicking(RokeWorkstationPicking):
for
task_id
,
picking_line_vals
in
task_id_dict
.
items
():
for
task_id
,
picking_line_vals
in
task_id_dict
.
items
():
task_obj
=
http
.
request
.
env
[
"roke.production.task"
]
.
sudo
()
.
search
([(
"id"
,
"="
,
task_id
)])
task_obj
=
http
.
request
.
env
[
"roke.production.task"
]
.
sudo
()
.
search
([(
"id"
,
"="
,
task_id
)])
picking_type_id
=
http
.
request
.
env
.
sudo
()
.
ref
(
picking_type_id
=
http
.
request
.
env
.
ref
(
'roke_mes_stock.stock_picking_type_production_out'
,
'roke_mes_stock.stock_picking_type_production_out'
,
raise_if_not_found
=
False
raise_if_not_found
=
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