@@ -82,7 +82,7 @@
|
||||
<attribute name="invisible">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='department_id']" position="after">
|
||||
<!-- <field name="allowed_user_ids" invisible="1"/>-->
|
||||
<field name="allowed_user_ids" invisible="1"/>
|
||||
<field name="number"/>
|
||||
<field name="establishment_quotas"/>
|
||||
<field name="no_of_employee" string="在编人数"/>
|
||||
|
||||
@@ -20,8 +20,8 @@ class YuthonFileProcessing(models.Model):
|
||||
main_text = fields.Text(string='文件内容')
|
||||
come_file_id = fields.Char(string="来文编号")
|
||||
incoming_file_id = fields.Char(string="收文编号")
|
||||
main_flats_id = fields.Many2one('main.flats', string="主送单位")
|
||||
copy_flats_id = fields.Many2one('main.flats', string="抄送单位")
|
||||
main_flats_ids = fields.Many2many('main.flats', string="主送单位")
|
||||
copy_flats_ids = fields.Many2many('main.flats', string="抄送单位")
|
||||
department_ids = fields.Many2many('hr.department', string='部门范围')
|
||||
employee_ids = fields.Many2many('hr.employee', string='人员范围')
|
||||
users_role_ids = fields.Many2many('soong.user.role', string='角色范围')
|
||||
|
||||
@@ -71,8 +71,8 @@
|
||||
<field name="company_id1" invisible="not is_cold"/>
|
||||
<!-- <field name="is_cold"/>-->
|
||||
<field name="reference_cold" invisible="not is_cold"/>
|
||||
<field name="main_flats_id" options="{'no_create': True, 'no_open': True}"/>
|
||||
<field name="copy_flats_id" options="{'no_create': True, 'no_open': True}"/>
|
||||
<field name="main_flats_ids" options="{'no_create': True, 'no_open': True}" widget="many2many_tags"/>
|
||||
<field name="copy_flats_ids" options="{'no_create': True, 'no_open': True}" widget="many2many_tags"/>
|
||||
<field name="date"/>
|
||||
<field name="issues_result" invisible="is_meet == False"/>
|
||||
</group>
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
</group>
|
||||
<group>
|
||||
<field name="official_documents_ids" widget="preview_many2many"/>
|
||||
</group>>
|
||||
</group>
|
||||
<group>
|
||||
<field name="type_stamp_ids" widget="many2many_tags" options="{'no_create': True, 'no_open': True}" invisible="is_chapter == 'no' or not is_chapter"/>
|
||||
<field name="scope_chapter_ids" widget="many2many_tags" options="{'no_create': True, 'no_open': True}" invisible="is_chapter == 'no' or not is_chapter"/>
|
||||
|
||||
Reference in New Issue
Block a user