!8491 Merge branch 'dev' of <a href="https://gitee.com/jinan-pengyusen-data/gzth">https://gitee.com/jinan-pengyusen-data/gzth</a> into dev_wang
Merge pull request !8491 from 李鹏宇/dev_wang
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user