← Back to team overview

openerp-india team mailing list archive

[Bug 1022677] Re: paying an non existing invoice from a bank statement

 

Hello Jose,

I have checked your issue . But for me.it's working fine.
For your more reference ,I have attached video .Please have a look.
If  you still face the problem. report back to us..!!

Thanks..!!!
 

** Attachment added: "Watch this video for more info..!!"
   https://bugs.launchpad.net/openobject-addons/+bug/1022677/+attachment/3218158/+files/supplier_bank_st.ogv

** Changed in: openobject-addons
       Status: New => Incomplete

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