Files
web/web_menu_navbar_needaction/views/ir_ui_menu.xml
Holger Brunn 82088b11e1 [IMP] web_menu_navbar_needaction: reflow, new features (#265)
[IMP] web_menu_navbar_needaction: Several improvements:

* Make the menu reflow after updating needactions
* Allow to disable needaction completely or to set a custom domain
* Support for clicking the number to end up on the first action
* No need to block the UI for our request
* Don't crash on corner cases, filter out search defaults from context, disable custom filters
* Allow to define needaction domains for any menu
* Support server actions
* Support models implementing the function, but not the interface
* Show a main menu's child needaction counters
2016-09-20 21:34:55 +02:00

17 lines
704 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record id="edit_menu_access" model="ir.ui.view">
<field name="model">ir.ui.menu</field>
<field name="inherit_id" ref="base.edit_menu_access" />
<field name="arch" type="xml">
<field name="sequence" position="after">
<field name="needaction_enabled" invisible="1" />
<field name="needaction" />
<field name="needaction_domain" attrs="{'invisible': [('needaction', '=', False)]}" placeholder="Fill in a domain for a custom needaction" />
</field>
</field>
</record>
</data>
</openerp>