Merge pull request !8067 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2026-01-16 12:17:05 +00:00
committed by Gitee
2 changed files with 6 additions and 3 deletions
+1
View File
@@ -34,6 +34,7 @@ class YuthonNotice(models.Model):
is_change_notice = fields.Boolean(string="是否发送通知", default=True)
attn_notice = fields.Html(string="经办人意见")
notice_text = fields.Html(string="正文")
notice_text1 = fields.Html(string="正文")
read_number = fields.Integer(string='阅读量', compute="_compute_read_number", store=True)
is_this_company = fields.Boolean(string='本公司', default=True)
approval_user_id = fields.Many2one('res.users', string="审核人")
+5 -3
View File
@@ -74,7 +74,8 @@
<field name="name" required="1"/>
</group>
<div>
<field name="notice_text" widget="tinymce"/>
<field name="notice_text" widget="tinymce" invisible="1"/>
<field name="notice_text1"/>
</div>
<group>
<field name="documents_ids" widget="preview_many2many"/>
@@ -158,7 +159,8 @@
</h1>
</div>
<group>
<field name="notice_text" widget="tinymce" string=" "/>
<field name="notice_text" widget="tinymce" string=" " invisible="1"/>
<field name="notice_text1"/>
<field name="documents_ids" widget="preview_many2many"/>
</group>
</form>
@@ -172,7 +174,7 @@
<search string="公告查询">
<field string="标题" name="name"/>
<field string="发布人" name="users_id"/>
<field string="正文" name="notice_text"/>
<field string="正文" name="notice_text1"/>
<field string="附件" name="documents_ids"/>
<field string="部门" name="department_id"/>
<filter string="未发布" name="no " domain="[('notice_state', '=', 'no')]"/>