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.
Very strange thing...
When trying to print « Today's payment », the report doesn't print order payments that are in Posted (done) state.
The « Today's payment » report print correctly the payments if orders are in « Paid » state.
Is it normal?
In the file /home/odoo-cfer/odoo-8.0-20151019/openerp/addons/point_of_sale/report/pos_payment_report.py, if I change po.state IN ('paid','invoiced') for po.state IN ('paid','invoiced','done'), the "Today's payment" report prints all the payments, even if they are in "done" state.
I don't understand why I have to modify this code myself... Should this not be a default behavior?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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: 11/18/15, 6:41 PM|
|Seen: 531 times|
|Last updated: 11/18/15, 6:59 PM|