Se rendre au contenu
Menu
Cette question a été signalée
103 Vues

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?????????

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
oct. 25
135
0
oct. 25
156
0
oct. 25
16
0
oct. 25
2
0
oct. 25
233