← Back to team overview

openerp-india team mailing list archive

[Bug 986088] Re: [trunk/6.1]account_payment Cannot import move lines without an invoice

 

** Changed in: openobject-addons
   Importance: Low => Medium

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

Title:
  [trunk/6.1]account_payment Cannot import move lines without an invoice

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  Hi,

  account_payment allows the user to import move lines using 'Select
  Invoices to Pay' (this misnoner may be part of the problem, but
  currently this allows the user to select *move lines*, not invoices
  and I think that is correct).

  There is a field 'currency' on the payment.order.line which is
  required. This field is taken from the invoice of the move line, in
  payment_order_create.create_payment(). If the move line does not have
  an invoice, the currency field is left empty and the system raises an
  exception about the invalid value for this field.

  I would like to see that the currency in that case is taken from the
  journal with a fallback on the company currency.

  Cheers,
  Stefan.

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


References