提交 d2c0172c authored 作者: 贺阳's avatar 贺阳

如果 是尾程交接,大包状态为未理货和已理货状态下的小包生成进度

上级 30c62bfc
......@@ -179,7 +179,9 @@ class OrderController(http.Controller):
'id': ship_package.id,
'tally_time': tally_time} for ship_package in
package.ship_package_ids if
package.tally_state == 'unprocessed_goods'] # 小包
(action_type == 'tally' and package.tally_state == 'unprocessed_goods') or (
action_type == 'handover' and package.tally_state in (
'unprocessed_goods', 'checked_goods'))] # 小包
package_obj.update_big_package_info(action_type=action_type,
tally_state=package_item.get('tally_state'),
tally_user_id=package_item.get(
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论