[6.0+6.1+trunk] point_of_sale: invoices not reconciled when paying pos.order
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) | ||||||
6.0 |
New
|
Undecided
|
OpenERP Publisher's Warranty Team | |||
6.1 |
New
|
Undecided
|
OpenERP Publisher's Warranty Team |
Bug Description
Steps to reproduce:
* Open a Cash Register
* Create POS Order
* Click Make Payment
* Use cash register opened before
* Tick on 'Invoice' option
* At this point the pos.order is "Paid" but the invoice is not marked as such.
(optional)
* Close the used Cash Register
* Notice even now the invoice is still not marked as paid (the customer balance is now 0 but it is not reconciled)
Suggested fix:
When clicking "Make Payment" also create an account.voucher record (only if amount paid > 0) and link this to the account.
Also make sure to validate this voucher as soon as it is created to make sure the Invoice will be marked as Paid immediately.
Also notice now that Closing the Cash Register will not produce another account.move.line for the payment (if the voucher_id had been linked on bank.statement.
Hello,
As per the bug management policy "only one team can work on bug report at same time". So I am removing this bug report for trunk version. Whenever this will fix for 6.1 it will be back-ported on trunk form 6.1
Thank you!