openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #00757
[Bug 885712] Re: Does not create new address when importing new customer
The video has an avc1 codec in mp4 mode but you should be able to view
it with 1.1.11 VLC player (version 4.4.4 GCC). I can redo the video in
my free time tonight.
Kr
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/885712
Title:
Does not create new address when importing new customer
Status in OpenERP Addons (modules):
Incomplete
Bug description:
In Customers list/search view (Sales/Address Book/Customers), I did an import of a file with the following data:
"name","address/phone"
"Amazon","testets"
When pressing the import button, a bug message appears (see below) stopping the execution of the import.
The problem is linked to the fact that the system doesn't find any record for the address contact. However the system should create a new address contact if it doesn't find it.
Bug message
The import failed due to:No record found for testets, Traceback (most recent call last): File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 245, in send result = openerp.netsvc.dispatch_rpc(service_name, method, args) File "/home/openerp/source/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/home/openerp/source/server/trunk/openerp/service/web_services.py", line 580, in dispatch res = fn(db, uid, *params) File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 120, in wrapper return f(self, dbname, *args, **kwargs) File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 172, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 163, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 1381, in import_data process_liness(self, datas, [], current_module, self._name, fields_def, position=position) File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 1317, in process_liness res = many_ids(line[i], relation, current_module, mode) File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 1289, in many_ids res.append(_get_id(relation, db_id, current_module, mode)) File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 1242, in _get_id raise ValueError('No record found for %s' % (id,)) ValueError: No record found for testets
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/885712/+subscriptions
References