[Trunk] import invoices do not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned |
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.
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.3 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-
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/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
'amount': amount,
NameError: global name 'amount' is not defined
Thanks
Frederic Clementi
Camptocamp
Hello,
I have just create a patch for this issue.
Thanks for your precious help,
Vincent