diff --git a/yuthon_property_approval/models/property_accounting_approval.py b/yuthon_property_approval/models/property_accounting_approval.py index 12315e2fa..30b889a33 100644 --- a/yuthon_property_approval/models/property_accounting_approval.py +++ b/yuthon_property_approval/models/property_accounting_approval.py @@ -34,6 +34,8 @@ class PropertyAccountingApproval(models.Model): default='normal') active = fields.Boolean('Active', default=True, tracking=True) work_end = fields.Boolean(string="结束") + is_chapter = fields.Selection([('yes', '是'), ('no', '否')], string="是否用章") + type_stamp_ids = fields.Many2many('seals.type.setting', string='用章类型') def _get_default_name_title(self): return self._description if self._description else self._name diff --git a/yuthon_property_approval/models/property_construction_approval.py b/yuthon_property_approval/models/property_construction_approval.py index 1b4a867d7..254e6b66a 100644 --- a/yuthon_property_approval/models/property_construction_approval.py +++ b/yuthon_property_approval/models/property_construction_approval.py @@ -35,6 +35,8 @@ class PropertyConstructionApproval(models.Model): default='normal') active = fields.Boolean('Active', default=True, tracking=True) work_end = fields.Boolean(string="结束") + is_chapter = fields.Selection([('yes', '是'), ('no', '否')], string="是否用章") + type_stamp_ids = fields.Many2many('seals.type.setting', string='用章类型') def _get_default_name_title(self): return self._description if self._description else self._name diff --git a/yuthon_property_approval/models/property_design_approval.py b/yuthon_property_approval/models/property_design_approval.py index fabe0aed7..ab1ae8098 100644 --- a/yuthon_property_approval/models/property_design_approval.py +++ b/yuthon_property_approval/models/property_design_approval.py @@ -32,6 +32,8 @@ class PropertyDesignApproval(models.Model): default='normal') active = fields.Boolean('Active', default=True, tracking=True) work_end = fields.Boolean(string="结束") + is_chapter = fields.Selection([('yes', '是'), ('no', '否')], string="是否用章") + type_stamp_ids = fields.Many2many('seals.type.setting', string='用章类型') def _get_default_name_title(self): return self._description if self._description else self._name diff --git a/yuthon_property_approval/models/property_supervising_approval.py b/yuthon_property_approval/models/property_supervising_approval.py index c648710b0..5f4307a4f 100644 --- a/yuthon_property_approval/models/property_supervising_approval.py +++ b/yuthon_property_approval/models/property_supervising_approval.py @@ -35,6 +35,8 @@ class PropertySupervisingApproval(models.Model): business_type = fields.Char(string="业务类型") active = fields.Boolean('Active', default=True, tracking=True) work_end = fields.Boolean(string="结束") + is_chapter = fields.Selection([('yes', '是'), ('no', '否')], string="是否用章") + type_stamp_ids = fields.Many2many('seals.type.setting', string='用章类型') approval_comments = fields.Text(string='经办意见') property_documents_ids = fields.Many2many('ir.attachment', string="附件") diff --git a/yuthon_property_approval/views/property_design_approval_views.xml b/yuthon_property_approval/views/property_design_approval_views.xml index 8874d0394..b6dfc9dc2 100644 --- a/yuthon_property_approval/views/property_design_approval_views.xml +++ b/yuthon_property_approval/views/property_design_approval_views.xml @@ -36,6 +36,14 @@ + + + + + + + +