← Back to team overview

openerp-india team mailing list archive

[Bug 922148] Re: [6.1][POS] creates debit and credit lines on identical account

 

Hello

Using the touchscreen interface, my generated payment moves seem
correct. Could you please maybe describe in details the sequence of
actions you did to trigger that bug ?

Thanks and regards,

Thibault Delavallée.

-- 
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/922148

Title:
  [6.1][POS] creates debit and credit lines on identical account

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Hi,

  in point_of_sale, a payment creates a move with debit and credit moves
  on an identical account. I.e. it has a balance of zero.

  A payment creates an account.bank.statement.line with a value for the
  field 'account_id' that is derived from the field 'account_id' on the
  account.bank.statement. This is the journal's default debit account.
  This account will be credited when an amount is paid into the cash
  register. Now as per create_move_from_statement_line, the journal's
  default debit account is also the account that will be debited when an
  amount is paid into the cash register.

  Instead, I would suggest that the payment be created with the value of
  property_account_receivable instead.

  Cheers,
  Stefan.

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


References