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.
Group the "Invoice Lines" also by "Invoice Number" in View "Reporting -> Accounting -> Invoice Analysis"
How to group by "Invoice Number" and/or "Invoice Name" in View "Reporting -> Accounting -> Invoice Analysis" ?
Since these fields are not available in the account.invoice.report object i guess a small modification in account_invoice_report.py is needed but i just cant figure out how it works.
Do the following to get what you need:
1) In the class account_invoice_report(osv.osv), add a field for invoice number of char type
'invoice_number': fields.char('Invoice number', size=128, readonly=True),
2) In the def init(self, cr) method, you need to add a column for invoice number, fetching it from the corresponding table
1) Add the invoice field in the tree view
2) Add the invoice field in the search view under group by tag
Hope my answer helps you and I deserve your upvote
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: 3/27/13, 11:39 AM|
|Seen: 1588 times|
|Last updated: 3/16/15, 8:10 AM|