Files
gzth/yuthon_issue/views/inherit_room_booking.xml
T
2026-05-25 15:08:53 +08:00

53 lines
2.9 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="view_room_booking_form" model="ir.ui.view">
<field name="name">room.booking.form</field>
<field name="model">room.booking</field>
<field name="inherit_id" ref="room.room_booking_view_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='is_notice']" position="before">
<field name="is_issue" invisible="1"/>
</xpath>
<xpath expr="//field[@name='meeting_place']" position="after">
<field name="number_of_meetings"/>
</xpath>
<xpath expr="//field[@name='meeting_type_id']" position="after">
<field name="minutes_id" invisible="not minutes_id"/>
</xpath>
<xpath expr="//button[@name='sync_wechat_room']" position="after">
<button name="bottom_meeting_approval" string="会议纪要" type="object" class="oe_highlight" invisible="not work_end"/>
</xpath>
<xpath expr="//page[@name='sign']" position="before">
<page string="关联议题" invisible="not is_issue">
<group>
<field name="employee_ids2" string="复制人员" widget="many2many_tags"/>
</group>
<field name="issue_meeting_line_ids">
<tree editable="bottom">
<button name="copy_line" type="object" string="复制" class="oe_highlight"/>
<button name="open_record" type="object" string="详情" class="oe_highlight"/>
<field name="sequence" widget="handle"/>
<field name="meeting_booking_id" column_invisible="1"/>
<field name="issue_library_id" class="o_m2o_mutil_line"/>
<field name="employee_id" options="{'no_create': True}"/>
<field name="attendees_ids" widget="many2many_tags" options="{'no_create': True}"/>
<field name="users_role_group_ids" widget="many2many_tags" options="{'no_create': True}"/>
<field name="designated_person_ids" widget="many2many_tags" column_invisible="1"/>
<field name="is_sanda"/>
<field name="decision_results"/>
<field name="decision_details"/>
</tree>
</field>
</page>
</xpath>
</field>
</record>
<record id="issue_meeting_action" model="ir.actions.act_window">
<field name="name">议题相关会议</field>
<field name="res_model">room.booking</field>
<field name="view_mode">tree,form</field>
<field name="domain">[('is_issue','=',True), ('is_company','=',True)]</field>
</record>
</odoo>