server-ux/document_quick_access/views/document_quick_access_rule.xml

73 lines
2.8 KiB
XML
Raw Permalink Normal View History

2021-03-23 19:15:27 +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 id="document_quick_access_rule_form_view" model="ir.ui.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>
<widget
name="web_ribbon"
title="Archived"
bg_color="bg-danger"
attrs="{'invisible': [('active', '=', True)]}"
/>
<field name="active" invisible="1" />
<h1>
<field name="name" />
</h1>
<group>
<field name="barcode_format" />
<field name="model_id" />
<field name="priority" />
</group>
</sheet>
</form>
</field>
</record>
<record id="document_quick_access_rule_search_view" model="ir.ui.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 id="document_quick_access_rule_tree_view" model="ir.ui.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 id="document_quick_access_rule_act_window" model="ir.actions.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 id="document_quick_access_rule_menu" model="ir.ui.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>