Hello Community,
I am developing a custom module in Odoo 17, and I need to change the default position of the “Create” button in list or form views.
Since Odoo 17 UI is fully OWL-based and the Control Panel layout has changed compared to older versions, I want to confirm the correct and recommended way to customize the placement of the Create button.
My questions:
What is the proper method in Odoo 17 to reposition the Create button?
Should this be done by extending the ControlPanel component using JavaScript (OWL patching)?
Should I override the XML template?
Or is there an official extension point provided by Odoo?
Is overriding the ControlPanel template discouraged in Odoo 17?
(In Odoo 14–16 it was common, but in 17 many templates are now JS components.)
If the recommended approach is to patch the component, what is the correct pattern to follow for Odoo 17?
Goal
I only want to change where the Create button appears — not its functionality.
Any guidance or official best practice for Odoo 17 would be very helpful.
Thank you.