Odoo Help


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

Pascal Tremblay
on 11/18/15, 6:41 PM 908 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?

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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