← Back to team overview

openerp-india team mailing list archive

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

 

Sorry if I was not clear about this issue: it only happens when using
the POS touchscreen interface.

My configuration is: payment method with

default debit account: 2000 Cash and default credit account: 2000 Cash.

Sell a product at €7,79 through the POS interface, paid with cash. The
generated payment move is

debit (2000, Cash) 7,79
credit (2000 Cash) 7,79

It should be

debit (2000, Cash) 7,79
credit (3000, Debitors) 7,79

Cheers,
Stefan.

-- 
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):
  Incomplete

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