Merge pull request !8491 from 李鹏宇/dev_wang
This commit is contained in:
李鹏宇
2026-01-30 12:48:48 +00:00
committed by Gitee
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -69,6 +69,9 @@ class YuthonNotice(models.Model):
is_company = fields.Boolean(string="本公司", default=True, compute='_compute_is_company',
search='_search_part_of_company')
publish_date = fields.Date(string='发布日期')
@api.depends_context('uid', 'company')
@api.depends('company_id')
def _compute_is_company(self):
@@ -57,6 +57,7 @@
</div>
<group col="4">
<group>
<field name="publish_date"/>
<field name="notice_type_id"/>
</group>
<group>