openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #13512
[Bug 1022677] Re: paying an non existing invoice from a bank statement
Ravish, thanks for you video you missed just one step, that was actually
selecting the invoice on the bank statement... Imagine working in a big
company, with plenty of bank movements and there are deferent people the
ones that captures the invoice and makes the statement
I also created a video to show you the complete cycle and after it
crashes I show you how my patch works.
** Attachment added: "bank_Bug_1022677.ogv"
https://bugs.launchpad.net/openobject-addons/+bug/1022677/+attachment/3219131/+files/bank_Bug_1022677.ogv
--
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/1022677
Title:
paying an non existing invoice from a bank statement
Status in OpenERP Addons (modules):
Incomplete
Bug description:
On OpenERP 6.1, If you are making you bank statement and applying
payments directly on it, let's say supplier invoice num 55, and for
some reason, someone (or you yourself), cancels an the supplier
invoice num 55, because an error on it, and regenerates it...
On the moment that you are confiming the statement, the OpenERP
(obviously) will not found the invoice (account.move.line) to pay, and
it will crash...
File "/home/josepato/erp/addons_all/6.1/account_voucher/account_voucher.py", line 1027, in voucher_move_line_create
currency_rate_difference = line.move_line_id.amount_residual - amount
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'
2012-07-09 15:58:40,833 21995 ERROR lodi openerp.netsvc: unsupported operand type(s) for -: 'NoneType' and 'float'
What I see wrong is that the user can't fix this issue, it has to
relay on the partner, so I simply propose a raise communicating the
problem to the user...
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1022677/+subscriptions
References