优化消息模版

This commit is contained in:
jinling.yang
2024-09-18 17:39:06 +08:00
parent 8bf1c56efd
commit 43f53197c4
21 changed files with 73 additions and 18 deletions

View File

@@ -11,7 +11,7 @@ from odoo.exceptions import UserError, ValidationError
class sf_production_plan(models.Model):
_name = 'sf.production.plan'
_description = 'sf_production_plan'
_inherit = ['mail.thread', 'sf.message.template']
_inherit = ['mail.thread']
# _order = 'state desc, write_date desc'
state = fields.Selection([