Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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
Profit And Loss report as I mentioned above.
Is there anyway to change Profit And Loss report as I changed account_invoice report?
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 5/27/13, 2:54 AM|
|Seen: 1359 times|
|Last updated: 3/16/15, 8:10 AM|