Hello guys,
I want to customize Profit And Loss(v6) report from Accounting/Reporting/Legal Reports/Accounting Reports/Profit And Loss.
Generally we do customize report by overwriting <report>
tag , we apply our customized .rml file to this report tag.
Suppose I want to change in account_invoice report. I will do the following
This is original report tag
<report
auto="False"
id="account_invoices"
model="account.invoice"
name="account.invoice"
rml="account/report/account_print_invoice.rml"
string="Invoices"
attachment="(object.state in ('open','paid')) and ('INV'+(object.number or '').replace('/',''))"
attachment_use="1"
multi="True"/>
I will change it to
<report
auto="False"
id="account.account_invoices"
model="account.invoice"
name="new_account_invoice"
rml="new_rml_file_path"
string="Invoices"
attachment="(object.state in ('open','paid')) and ('INV'+(object.number or '').replace('/',''))"
attachment_use="1"
multi="True"/>
So here I changed name of report & changed rml file path, I kept id as it is. That's enough to do change in existing report.
But I can't find <report>
for Profit And Loss
report as I mentioned above.
Is there anyway to change Profit And Loss report as I changed account_invoice report?
Thanks.