Compare commits
1 Commits
16.0
...
14.0-add-o
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2bfde2e346 |
@@ -10,7 +10,7 @@
|
||||
'summary': 'Better usability in base module',
|
||||
'author': 'Akretion',
|
||||
'website': 'http://www.akretion.com',
|
||||
'depends': ['base'],
|
||||
'depends': ['base', 'contacts'],
|
||||
'data': [
|
||||
'security/group.xml',
|
||||
'security/ir.model.access.csv',
|
||||
|
||||
@@ -20,6 +20,15 @@
|
||||
<div attrs="{'invisible': [('same_vat_partner_id', '=', False)]}" position="attributes">
|
||||
<attribute name="class">alert alert-warning</attribute>
|
||||
</div>
|
||||
<!-- Add a kanban button to open child partner -->
|
||||
<xpath expr="//field[@name='child_ids']//kanban/templates/t/div" position="inside">
|
||||
<div class="o_dropdown_kanban">
|
||||
<a class="btn" role="button" title="Open"
|
||||
t-att-href="'/web#id=' + record.id.raw_value + '&action=%(contacts.action_contacts)d' + '&menu_id=%(contacts.menu_contacts)d' + '&view_type=form&cids=1&model=res.partner'">
|
||||
<span class="fa fa-external-link" />
|
||||
</a>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user