c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #26358
[Bug 786845] Re: [6.0] account_payment: selecting partner bank fails when no suitable bank types are given
Hello Stefan,
I have checked your bug specification including your code improvement
but I did not produce the condition specified by you regarding suitable
bank type selection.Bank type is a require field and again this is
static field. When we are selecting type the bank account automatically
set as require field. Again when I am not assigned any bank to partner
then It will pass 'False' value and the related code will not execute.
Would you please provide me the scenario which raises a problem with current code ?
So to fix those problem we need some improvement.
Thanks and waiting for you reply.
** Changed in: openobject-addons
Status: New => Incomplete
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/786845
Title:
[6.0] account_payment: selecting partner bank fails when no suitable
bank types are given
Status in OpenERP Modules (addons):
Incomplete
Bug description:
Hi,
In account_banking/account_move_line.py:line2bank() a partner bank is
selected for every line in a payment order. A selection is supposed to
take place by suitable bank type (regular, iban, etc.). When no
suitable bank types are available, there is supposed to be a fallback
on the first partner bank of any type. However, the fallback works by
checking "line.id not in line2bank", but unfortunately the iteration
starts with "line2bank[line.id] = False" so line.id is always in
line2bank at that point and the fallback does not happen.
As a consequence, no bank accounts are present on the payment order
lines and the payment order cannot be filed to the bank.
Cheers,
Stefan.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/786845/+subscriptions
References