← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 839425] Re: [Trunk] import invoices do not work

 

** Attachment added: "Import_invoice.ogv"
   https://bugs.launchpad.net/openobject-addons/+bug/839425/+attachment/2343925/+files/Import_invoice.ogv

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

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

Title:
  [Trunk] import invoices do not work

Status in OpenERP Modules (addons):
  Incomplete

Bug description:
  
  Hi guys,

  Following new modifications on account voucher in Trunk, it is now
  impossible to import an invoice

  To reproduce :
  - create a invoice
  - Open a new bank statement 
  - clique on Import invoice 
  - select the invoice

  and you get this :

  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

  
  Thanks 

  Frederic Clementi
  Camptocamp

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


References