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
10f1ad2f
Commit
10f1ad2f
authored
Apr 12, 2025
by
赵言乐
Browse files
Options
Browse Files
Download
Plain Diff
合并分支 'zyl_sdddl_project' 到 'sdddl_project'
删除代码 查看合并请求
!8
parents
6bbb0306
b6341496
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
sdddl_project/wizard/inherit_result_put_warehose_wizard.py
+0
-13
No files found.
sdddl_project/wizard/inherit_result_put_warehose_wizard.py
View file @
10f1ad2f
...
@@ -14,11 +14,6 @@ class InheritRokeResultPutWarehouseWizard(models.TransientModel):
...
@@ -14,11 +14,6 @@ class InheritRokeResultPutWarehouseWizard(models.TransientModel):
def
confirm
(
self
):
def
confirm
(
self
):
"""确认入库"""
"""确认入库"""
move_list
=
[]
for
line
in
self
.
line_ids
:
line_val
=
self
.
_get_move_line_val
(
line
)
move_list
.
append
(
line_val
)
self
.
env
[
"roke.production.result.move"
]
.
create
(
move_list
)
# 推送
# 推送
if
self
.
_context
.
get
(
'active_model'
)
!=
"roke.production.result"
:
if
self
.
_context
.
get
(
'active_model'
)
!=
"roke.production.result"
:
...
@@ -100,11 +95,3 @@ class InheritRokeResultPutWarehouseWizard(models.TransientModel):
...
@@ -100,11 +95,3 @@ class InheritRokeResultPutWarehouseWizard(models.TransientModel):
cur
.
close
()
cur
.
close
()
conn
.
close
()
conn
.
close
()
return
super
(
InheritRokeResultPutWarehouseWizard
,
self
)
.
confirm
()
return
super
(
InheritRokeResultPutWarehouseWizard
,
self
)
.
confirm
()
def
_get_move_line_val
(
self
,
line
):
return
{
"warehouse_id"
:
self
.
warehouse_id
.
id
,
"result_id"
:
line
.
result_id
.
id
,
"product_state_id"
:
line
.
product_state_id
.
id
,
"qty"
:
line
.
stock_qty
}
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