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
|Asked: 11/18/15, 6:41 PM|
|Seen: 490 times|
|Last updated: 11/18/15, 6:59 PM|