Odoo Help


This community 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.


Why "Today's payment" doesn't print payments in done state?

Pascal Tremblay
on 11/18/15, 6:41 PM 484 views

Hello gang,

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?

Your Answer

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 11/18/15, 6:41 PM
Seen: 484 times
Last updated: 11/18/15, 6:59 PM