Technical mailing list archives

technical@mail.odoo.com

Browse archives

Avatar

(Odoo10) Adding a button to list view

by
Ross Golder
- 22/09/2018 21:28:10
Hi guys,

I'm struggling to get this to work for some reason :(

To keep it simple, I've created a fresh module using 'odoo scaffold',
and added the template code that most of the articles I've read have
suggested works...

https://github.com/rossigee/odoo_list_view_button/commit/90683b399ac325037735e2c14c2c6cacb2578805

(All I want to see for now is that the button appear in the UI. I'll
hook the JS up later)

However, when I install this module I don't see the button in any list view.

Can anyone advise on what I'm doing wrong, or how I can further debug this?

Thanks,

--
Ross

Follow-Ups