I'm trying to extend the FormView.buttons template in v10, but it isn't loading and I can't figure out why. I ran a t-js logger inside the template, and it didn't output anything, so I'm guessing the file isn't loading correctly.
Here is my code:
<?xml version="1.0" encoding="UTF-8"?> <templates> <t t-extend="FormView.buttons">
<t t-jquery=".o_form_button_edit" t-operation="prepend">
<span class="fa fa-pencil"></span>
</t> <t t-jquery=".o_form_button_create" t-operation="prepend"> <span class="fa fa-plus"></span> </t> <t t-jquery=".o_form_button_save" t-operation="prepend"> <span class="fa fa-floppy-o"></span> </t> <t t-jquery=".o_form_button_cancel" t-operation="prepend"> <span class="fa fa-trash-o"></span> </t> </t> </templates>
And in my __manifest__.py file:
'qweb': ['static/src/xml/templates.xml'],
Thanks in advance for your help.