[6.0+6.1+trunk] point_of_sale: invoices not reconciled when paying pos.order

Bug #1028891 reported by Niels Huylebroeck
10
This bug affects 2 people
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.bank.statement.line (on field voucher_id) that is being created by the "add_payment" method of model "pos.order".

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.line) which is a good result.

Tags: maintenance
tags: added: maintenance
Revision history for this message
Amit Parik (amit-parik) wrote :

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!

no longer affects: openobject-addons/trunk
no longer affects: openobject-addons
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.