谢谢你,我试供应商列表了,导出没问题,但当导入新的数据库显示失败。
[color=red][size=8pt]导入失败:No such external ID currently defined in the system: export.res_partner_13_46, Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 592, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 360, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 572, in dispatch
res = fn(db, uid, *params)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1412, in import_data
process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1371, in process_liness
res = _get_id(relation, line[i], current_module, mode)
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1268, in _get_id
record_id = ir_model_data_obj._get_id(cr, uid, module, xml_id)
File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 18, in lookup
r = self.lookup(self2, cr, *args)
File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 46, in lookup
value = d[args] = self.method(self2, cr, *args)
File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 640, in _get_id
raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id))
ValueError: No such external ID currently defined in the system: export.res_partner_13_46[/size][/color]
是不是我选了不对的FIELD?请指点一二,谢谢。。。
S
smlau
@smlau
-
基本资料复制,OpenERP导入,导出问题 -
基本资料复制,OpenERP导入,导出问题如何把基本资料(比如供应商,客户和产品)从一个数据库复制到一个新空的数据库里?想把所有的往来清单资料归零,从新开始。谢谢。。。