diff options
| author | pka-odoo <pka@odoo.com> | 2020-05-04 09:09:23 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2020-05-04 14:31:11 +0000 |
| commit | 470fa48686f5ac430f0f7eb0853cf2c81dca62c0 (patch) | |
| tree | 66a041b2002aec7ad45bceb64ce33d3cebfd2048 /addons/crm_iap_lead | |
| parent | 93c01a231a80a3a0795af33b4776bf679299c4b2 (diff) | |
[IMP] base_import,*: move Import button to Favorite menu
*account,crm_iap_lead,hr_expense
Part of task 2234547
Co-authored-by: Mohammed Shekha <msh@odoo.com>
Co-authored-by: Aaron Bohy <aab@odoo.com>
Diffstat (limited to 'addons/crm_iap_lead')
| -rw-r--r-- | addons/crm_iap_lead/static/src/xml/leads_tree_generate_leads_views.xml | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/addons/crm_iap_lead/static/src/xml/leads_tree_generate_leads_views.xml b/addons/crm_iap_lead/static/src/xml/leads_tree_generate_leads_views.xml index b431e02601c..8254fb7fc8f 100644 --- a/addons/crm_iap_lead/static/src/xml/leads_tree_generate_leads_views.xml +++ b/addons/crm_iap_lead/static/src/xml/leads_tree_generate_leads_views.xml @@ -10,22 +10,12 @@ <t t-extend="ListView.buttons" t-name="LeadMiningRequestListView.buttons"> <t t-jquery="button.o_list_button_add" t-operation="after"> <t t-call="LeadMiningRequest.generate_leads_button"/> - <t t-js="ctx"> - if (window.odoo._modules.indexOf("base_import") >= 0) { - r.push(context.engine.tools.call(context, 'ImportView.import_button', dict)); - }; - </t> </t> </t> <t t-extend="KanbanView.buttons" t-name="LeadMiningRequestKanbanView.buttons"> <t t-jquery="button" t-operation="after"> <t t-call="LeadMiningRequest.generate_leads_button"/> - <t t-js="ctx"> - if (window.odoo._modules.indexOf("base_import") >= 0) { - r.push(context.engine.tools.call(context, 'ImportView.import_button', dict)); - }; - </t> </t> </t> </templates> |
