diff --git a/customer_itch_cycle/__manifest__.py b/customer_itch_cycle/__manifest__.py index 88f0256..2a99ccb 100644 --- a/customer_itch_cycle/__manifest__.py +++ b/customer_itch_cycle/__manifest__.py @@ -21,9 +21,8 @@ 'assets': { 'web.assets_backend': [ 'customer_itch_cycle/static/src/js/cycle_product_partner_list_view.js', - ], - 'web.assets_backend_xml': [ 'customer_itch_cycle/static/src/xml/process_history_button.xml', + ], }, 'installable': True, diff --git a/customer_itch_cycle/static/src/js/cycle_product_partner_list_view.js b/customer_itch_cycle/static/src/js/cycle_product_partner_list_view.js index eabe13c..1d3483c 100644 --- a/customer_itch_cycle/static/src/js/cycle_product_partner_list_view.js +++ b/customer_itch_cycle/static/src/js/cycle_product_partner_list_view.js @@ -28,8 +28,8 @@ class CycleProductPartnerListController extends ListController { } // Enregistrement de la vue personnalisée -registry.category("views").add("process_history_button_in_tree", { +registry.category("views").add("cycle_product_partner_list", { ...listView, Controller: CycleProductPartnerListController, - buttonTemplate: "customer_itch_cycle.button_in_tree", + buttonTemplate: "customer_itch_cycle.process_history_button_in_tree", }); \ No newline at end of file diff --git a/customer_itch_cycle/static/src/xml/process_history_button.xml b/customer_itch_cycle/static/src/xml/process_history_button.xml index 5768fdb..88a9e59 100644 --- a/customer_itch_cycle/static/src/xml/process_history_button.xml +++ b/customer_itch_cycle/static/src/xml/process_history_button.xml @@ -1,5 +1,8 @@ - \ No newline at end of file + \ No newline at end of file