← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

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

Status in OpenERP Modules (addons):
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/842574/+subscriptions


Follow ups

References