← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 714221] [NEW] [6.0 trunk] [l10n_ch] error on BVR import

 

Public bug reported:

Hi there,

when performing the following:
1. Open Accounting/Bank Payments
2. Click on import BVR
3. Select BVR file to import
4. click ok

I get :

Environment Information : 
System : Linux-2.6.35-25-generic-i686-with-Ubuntu-10.10-maverick
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.10
Release:	10.10
Codename:	maverick
Operating System Release : 2.6.35-25-generic
Operating System Version : #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011
Operating System Architecture : 32bit
Operating System Locale : fr_CH.UTF8
Python Version : 2.6.6
OpenERP-Client Version : 6.0.1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/addons/l10n_ch/wizard/bvr_import.py", line 248, in import_bvr
    _import(self, cr, uid, data, context=context)
  File "/home/openerp/addons/l10n_ch/wizard/bvr_import.py", line 137, in _import
    statement = statement_obj.browse(cursor, user, statement_id, context=context)
NameError: global name 'statement_obj' 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/714221

Title:
  [6.0 trunk] [l10n_ch] error on BVR import

Status in OpenERP Modules (addons):
  New

Bug description:
  Hi there,

  when performing the following:
  1. Open Accounting/Bank Payments
  2. Click on import BVR
  3. Select BVR file to import
  4. click ok

  I get :

  Environment Information : 
  System : Linux-2.6.35-25-generic-i686-with-Ubuntu-10.10-maverick
  OS Name : posix
  Distributor ID:	Ubuntu
  Description:	Ubuntu 10.10
  Release:	10.10
  Codename:	maverick
  Operating System Release : 2.6.35-25-generic
  Operating System Version : #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011
  Operating System Architecture : 32bit
  Operating System Locale : fr_CH.UTF8
  Python Version : 2.6.6
  OpenERP-Client Version : 6.0.1
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/openerp/addons/l10n_ch/wizard/bvr_import.py", line 248, in import_bvr
      _import(self, cr, uid, data, context=context)
    File "/home/openerp/addons/l10n_ch/wizard/bvr_import.py", line 137, in _import
      statement = statement_obj.browse(cursor, user, statement_id, context=context)
  NameError: global name 'statement_obj' is not defined





Follow ups

References