mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-12-23 12:51:46 +00:00
42 lines
1.5 KiB
XML
42 lines
1.5 KiB
XML
<!-- Copyright 2019 Open Source Integrators
|
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
|
<flectra>
|
|
|
|
<record id="partner_form_tier" model="ir.ui.view">
|
|
<field name="name">partner.form.tier</field>
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="base.view_partner_form" />
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="/form/sheet" position="before">
|
|
<header>
|
|
<field
|
|
name="state"
|
|
widget="statusbar"
|
|
options="{'clickable': '1'}"
|
|
/>
|
|
<button name="dummy" invisible="True" />
|
|
</header>
|
|
</xpath>
|
|
|
|
</field>
|
|
</record>
|
|
|
|
<record id="partner_form_tier_filter" model="ir.ui.view">
|
|
<field name="name">partner.form.tier.filter</field>
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="base.view_res_partner_filter" />
|
|
<field name="arch" type="xml">
|
|
<filter name="inactive" position="before">
|
|
<filter
|
|
name="needs_review"
|
|
string="Needs my Approval"
|
|
domain="[('reviewer_ids','in',uid), ('state', '=', 'draft'), '|', ('active','=', True), ('active', '=', False)]"
|
|
help="Partner(s) to Approve"
|
|
/>
|
|
</filter>
|
|
</field>
|
|
</record>
|
|
|
|
</flectra>
|