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
a146aef1
Commit
a146aef1
authored
Jan 11, 2025
by
夏超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 修改发料接口
parent
585450f9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
sdddl_project/models/inherit_roke_routing.py
+8
-1
No files found.
sdddl_project/models/inherit_roke_routing.py
View file @
a146aef1
...
...
@@ -20,7 +20,14 @@ class InheritRokeRouting(models.Model):
res
=
super
(
InheritRokeRouting
,
self
)
.
get_routing_line_value
(
line
)
res
.
update
({
"special_process"
:
line
.
special_process
,
"p_bom_ids"
:
line
.
p_bom_ids
"p_bom_ids"
:
[
(
0
,
0
,
{
"product_id"
:
v
.
product_id
.
id
,
"protection_code"
:
v
.
protection_code
,
"qty"
:
v
.
qty
,
})
for
v
in
line
.
p_bom_ids
]
})
return
res
...
...
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