I'm trying to add a Button in Accounting/Customers/Customers in Customer Statement.
I'm trying to inherit this
<t t-name="account_reports.AccountReportFiltersCustomizable">
Here is my code.
<?xml version="1.0" encoding="UTF-8"?>
<templates>
<!-- Inherit the base account report filters template -->
<t t-name="sale_detail_report.AddButton" t-inherit="account_reports.AccountReportFiltersCustomizable">
<xpath expr="//div[@id='filter_rounding_unit']" position="after">
<button>Testing Button</button>
</xpath>
</t>
</templates>
But "Testing Button" is not added. i have also added account_reports in depends and added
'assets': {
'web.assets_backend': [
'sale_detail_report/static/src/components/**/*',
],
},in __manifest__ file.
...................................
What is the Problem?????????