← Back to team overview

openerp-india team mailing list archive

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

 

** Changed in: openobject-addons/6.1
     Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)

** Changed in: openobject-addons/6.0
     Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)

** Tags added: maintenance

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1028891

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

Status in OpenERP Addons (modules):
  New
Status in OpenERP Addons 6.0 series:
  New
Status in OpenERP Addons 6.1 series:
  New
Status in OpenERP Addons trunk series:
  New

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 and link this to the account.bank.statement.line (on 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 this is done 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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1028891/+subscriptions


References