Hi,
I'm inheriting the Sale Order view and adding a button in it. What I'm trying to achieve is calling a method in my .py model but Odoo is looking for it in the sale.order one.
This is my .py model: https://pastebin.com/aiKGLMdE
This is the view: https://pastebin.com/ypn75Nvd
This is the error: https://pastebin.com/LEwtc9aw
Any help is appreciated, thanks in advance
(PS: I'm usign Odoo.sh)