Files
odoo_source/addons/event/views/res_partner_views.xml
T
Yannick Tivisse ba03089230 [IMP] all: Remove active stat button on all views
Purpose
=======

While cleaning the stat buttons across all modules, we
decided to move the (un)archiving from stat button to
actions in the 'Action' dropdown.

Specification
=============

Remove the 'active' stat buttons in all views
2019-07-12 13:01:36 +02:00

24 lines
981 B
XML

<?xml version="1.0"?>
<odoo>
<data>
<record id="res_partner_view_tree" model="ir.ui.view">
<field name="name">view.res.partner.form.event.inherited</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="groups_id" eval="[(5,)]"/>
<field name="priority" eval="6"/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<button class="oe_stat_button"
groups="event.group_event_user"
type="object"
icon="fa-ticket"
name="action_event_view" attrs="{'invisible': [('event_count','=', 0)]}">
<field string="Events" name="event_count" widget="statinfo"/>
</button>
</div>
</field>
</record>
</data>
</odoo>