Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3158 Zobrazení

I have added some custom fields to the model account.move and I want to add these fields in the following Odoo Enterprise reports:


-Accounting/Reporting/Partner ledger
-Accounting/Reporting/Aged receivable
-Accounting/Reporting/Aged payable


I did not find how to add fields to this kind of reports and they are way different than the regular views

Avatar
Zrušit
Nejlepší odpověď

Hi 
To add custom fields to reports like "Partner Ledger","Aged Receivable",and "Aged Payable", you will need to modify templates associated with these reports.1.Identify the report template and inherit the template to add custom fields.2.Look for sections such as 

<thead>,<tbody>,<xpath>

tags that define the layout and content of the report.3.You can access the fields from the model using dot notation.for example : record.custom_field.
Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
úno 24
1800
1
lis 23
2005
0
zář 23
1559
1
čvn 23
3219
2
srp 22
4038