优化接口;质量检查wizard添加发布按钮

This commit is contained in:
mgw
2025-03-14 15:45:45 +08:00
parent 0f537a3158
commit 7755cc3982
3 changed files with 21 additions and 4 deletions

View File

@@ -112,3 +112,7 @@ class QualityCheckWizard(models.TransientModel):
default_current_check_id=self.current_check_id.id,
)
return action
# 对于成品出库的出厂检验报告,增加发布按钮
def publish(self):
self.current_check_id._do_publish_implementation()