openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #21284
[Bug 986088] Re: [trunk/6.1]account_payment Cannot import move lines without an invoice
** Branch linked: lp:~therp-nl/banking-
addons/ba61-lp986088-fix_import_move_lines_without_invoice
--
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 Banking Addons:
Fix Committed
Status in OpenERP Addons (modules):
Fix Released
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/banking-addons/+bug/986088/+subscriptions
References