调整向导提示语逻辑

This commit is contained in:
mgw
2025-03-14 14:02:14 +08:00
parent 4200fdbf3b
commit 4138903bff
4 changed files with 29 additions and 3 deletions

View File

@@ -11,6 +11,8 @@ class QualityCheckPublishWizard(models.TransientModel):
check_qty = fields.Char('检验数', readonly=True)
measure_count = fields.Integer('测量件数', readonly=True)
item_count = fields.Integer('检验项目数', readonly=True)
old_report_name = fields.Char('旧出厂检验报告编号', readonly=True)
publish_status = fields.Selection([('draft', '草稿'), ('published', '已发布'), ('canceled', '已撤销')], string='发布状态', readonly=True)
def action_confirm_publish(self):
"""确认发布"""