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
2a051811
Commit
2a051811
authored
Mar 14, 2025
by
夏超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 东联同步功能优化
parent
f45ba389
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
sdddl_project/models/inherit_roke_pub_interate_model.py
+5
-2
No files found.
sdddl_project/models/inherit_roke_pub_interate_model.py
View file @
2a051811
...
...
@@ -149,6 +149,9 @@ flag = True if field_value %s check_value else False
if
self
.
parent_model_id
.
model
==
"roke.production.task"
and
model_obj
:
continue
if
model_obj
:
model_obj
.
write
(
model_data
)
data
=
model_obj
.
write
(
model_data
)
else
:
parent_model_
.
create
(
model_data
)
data
=
parent_model_
.
create
(
model_data
)
if
self
.
parent_model_id
.
model
==
"roke.production.task"
and
data
.
product_id
:
data
.
routing_id
=
data
.
product_id
.
routing_id
data
.
create_work_order
()
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