增加报告相关结构
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user