增加报告相关结构

This commit is contained in:
mgw
2025-03-12 14:06:03 +08:00
parent 5e51ee8db3
commit d577630657
2 changed files with 34 additions and 0 deletions

View File

@@ -185,6 +185,30 @@ class QualityCheck(models.Model):
pass
# self.ensure_one()
def do_preview(self):
"""
预览出厂检验报告
"""
pass
def do_publish(self):
"""
发布出厂检验报告
"""
pass
def do_cancel_publish(self):
"""
取消发布出厂检验报告
"""
pass
def do_re_publish(self):
"""
重新发布出厂检验报告
"""
pass
@depends('product_id')
def _compute_material_name(self):