c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00255
[Bug 660737] [NEW] Product lookup fails in invoice line
Public bug reported:
Trunk addons version 4340
Traceback:
Environment Information :
System : Linux-2.6.32-25-generic-x86_64-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-25-generic
Operating System Version : #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0dev
Last revision No. & ID :1618 launchpad_translations_on_behalf_of_openerp-20101014044508-5aemh6vz68fbomfk
Traceback (most recent call last):
File "/opt/openerp/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/opt/openerp/server/bin/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/server/bin/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/server/bin/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/server/bin/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/addons/account/invoice.py", line 1364, in product_id_change
if app_acc_in.company_id.id != company_id and app_acc_exp.company_id.id != company_id:
AttributeError: 'NoneType' object has no attribute 'id'
Accounting/Suppliers/Supplier Invoices/new invoice, select supplier, add
line, lookup product
** Affects: openobject-addons
Importance: Undecided
Status: New
--
Product lookup fails in invoice line
https://bugs.launchpad.net/bugs/660737
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.
Status in OpenObject Addons Modules: New
Bug description:
Trunk addons version 4340
Traceback:
Environment Information :
System : Linux-2.6.32-25-generic-x86_64-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-25-generic
Operating System Version : #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0dev
Last revision No. & ID :1618 launchpad_translations_on_behalf_of_openerp-20101014044508-5aemh6vz68fbomfk
Traceback (most recent call last):
File "/opt/openerp/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/opt/openerp/server/bin/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/server/bin/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/server/bin/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/server/bin/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/addons/account/invoice.py", line 1364, in product_id_change
if app_acc_in.company_id.id != company_id and app_acc_exp.company_id.id != company_id:
AttributeError: 'NoneType' object has no attribute 'id'
Accounting/Suppliers/Supplier Invoices/new invoice, select supplier, add line, lookup product
Follow ups
References