[trunk] bank statement - Import invoice error {FCL}

Bug #842574 reported by Frederic Clementi - Camptocamp
This bug report is a duplicate of:  Bug #839425: [Trunk] import invoices do not work. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

Hello guys,

In Trunk, in the bank staement, try to click on 'Import Invoices' (create an basic customer invoice first)
And you'll get this bug :

Environment Information :
System : Linux-2.6.32-33-generic-pae-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.3 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-33-generic-pae
Operating System Version : #72-Ubuntu SMP Fri Jul 29 22:06:29 UTC 2011
Operating System Architecture : 32bit
Operating System Locale : fr_CH.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.1-dev
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/home/fclementi/openerp-instances/610/server/openerp/netsvc.py", line 440, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/fclementi/openerp-instances/610/server/openerp/service/web_services.py", line 583, in dispatch
    res = fn(db, uid, *params)
  File "/home/fclementi/openerp-instances/610/server/openerp/osv/osv.py", line 118, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/fclementi/openerp-instances/610/server/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/fclementi/openerp-instances/610/server/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/fclementi/openerp-instances/610/addons/account_voucher/wizard/account_statement_from_invoice.py", line 68, in populate_statement
    'amount': amount,
NameError: global name 'amount' is not defined

Revision history for this message
Frederic Clementi - Camptocamp (frederic-clementi) wrote :
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Frederic,

The same issue was already posted on lp:839425 but which is not reproducible at our end.

So would you please elaborate more information on @ lp:839425.

Thanks.

security vulnerability: no → yes
security vulnerability: yes → no
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.