Files
gzth/yuthon_account_report/views/table_setting_views.xml
T
2025-12-01 20:21:07 +08:00

51 lines
2.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="view_sheet_collection_setting_tree" model="ir.ui.view">
<field name="name">sheet.collection.setting.tree</field>
<field name="model">sheet.collection.setting</field>
<field name="arch" type="xml">
<tree string="财务数据表项目配置" editable="bottom" js_class="custom_collection_button">
<header>
<button name="table_setting_wizard" string="初始化人员" type="object" class='btn btn-primary'/>
</header>
<field name="sequence"/>
<field name="name"/>
<field name="employee_ids" widget="many2many_tags" options="{'no_create': True}"/>
<field name="user_role_ids" widget="many2many_tags" options="{'no_create': True}"/>
<field name="start_date"/>
<field name="end_date"/>
<field name="is_enable"/>
</tree>
</field>
</record>
<record id="view_sheet_collection_setting_action" model="ir.actions.act_window">
<field name="name">财务数据表项目配置</field>
<field name="res_model">sheet.collection.setting</field>
<field name="view_mode">tree</field>
</record>
<record id="view_summary_table_setting_tree" model="ir.ui.view">
<field name="name">summary.table.setting.tree</field>
<field name="model">summary.table.setting</field>
<field name="arch" type="xml">
<tree string="信息汇总表项目配置" editable="bottom" js_class="summary_button">
<header>
<button name="table_setting_wizard" string="初始化人员" type="object" class='btn btn-primary'/>
</header>
<field name="sequence"/>
<field name="name"/>
<field name="employee_ids" widget="many2many_tags" options="{'no_create': True}"/>
<field name="user_role_ids" widget="many2many_tags" options="{'no_create': True}"/>
<field name="start_date"/>
<field name="end_date"/>
<field name="is_enable"/>
</tree>
</field>
</record>
<record id="view_summary_table_setting_action" model="ir.actions.act_window">
<field name="name">信息汇总表项目配置</field>
<field name="res_model">summary.table.setting</field>
<field name="view_mode">tree</field>
</record>
</odoo>