server-ux/document_quick_access/views/document_quick_access_rule.xml

76 lines
3.0 KiB
XML
Raw Permalink Normal View History

2021-03-23 19:38:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2019 Creu Blanca
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<flectra>
<record model="ir.ui.view" id="document_quick_access_rule_form_view">
<field name="name">document.quick.access.rule.form (in document_quick_access)</field>
<field name="model">document.quick.access.rule</field>
<field name="arch" type="xml">
<form>
<header/>
<sheet>
<div class="oe_button_box" name="button_box">
<button name="toggle_active" type="object"
class="oe_stat_button" icon="fa-archive"
modifiers="{}" options="{}">
<field name="active" widget="boolean_button"
options="{'terminology': 'archive'}"
modifiers="{}"/>
</button>
</div>
<h1>
<field name="name"/>
</h1>
<group>
<field name="barcode_format"/>
<field name="model_id"/>
<field name="priority"/>
</group>
</sheet>
</form>
</field>
</record>
<record model="ir.ui.view" id="document_quick_access_rule_search_view">
<field name="name">document.quick.access.rule.search (in document_quick_access)</field>
<field name="model">document.quick.access.rule</field>
<field name="arch" type="xml">
<search>
<field name="name"/>
<field name="model_id"/>
<field name="barcode_format"/>
</search>
</field>
</record>
<record model="ir.ui.view" id="document_quick_access_rule_tree_view">
<field name="name">document.quick.access.rule.tree (in document_quick_access)</field>
<field name="model">document.quick.access.rule</field>
<field name="arch" type="xml">
<tree>
<field name="name"/>
<field name="model_id"/>
<field name="barcode_format"/>
</tree>
</field>
</record>
<record model="ir.actions.act_window" id="document_quick_access_rule_act_window">
<field name="name">Document Quick Access Rule</field>
<field name="res_model">document.quick.access.rule</field>
<field name="view_mode">tree,form</field>
<field name="domain">[]</field>
<field name="context">{}</field>
</record>
<record model="ir.ui.menu" id="document_quick_access_rule_menu">
<field name="name">Document Quick Access Rule</field>
<field name="parent_id" ref="base.next_id_6"/>
<field name="action" ref="document_quick_access_rule_act_window"/>
<field name="sequence" eval="16"/>
</record>
</flectra>