← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 687354] [NEW] KeyError: 'create_date'

 

Public bug reported:


Use base_module_record to export data but experience the following error

addons/ : revno: 3986
addons-community/ : revno: 287
addons-extra/ : revno: 5170
server/ : revno: 3080


Environment Information : 
System : Windows-Vista-6.0.6002-SP2
OS Name : nt
Operating System Release : Vista
Operating System Version : 6.0.6002
Operating System Architecture : 32bit
Operating System Locale : vi_VN.cp1258
Python Version : 2.5.2
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/var/local/software/openerp-v6.0dev/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/var/local/software/openerp-v6.0dev/server/bin/service/web_services.py", line 633, in dispatch
    security.check(db,uid,passwd)
  File "/var/local/software/openerp-v6.0dev/server/bin/service/web_services.py", line 660, in exp_execute
    if wiz_id in self.wiz_uid:
  File "/var/local/software/openerp-v6.0dev/server/bin/service/web_services.py", line 642, in _execute
    self.wiz_datas[wiz_id].update(datas)
  File "/var/local/software/openerp-v6.0dev/server/bin/wizard/__init__.py", line 177, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/var/local/software/openerp-v6.0dev/server/bin/wizard/__init__.py", line 81, in execute_cr
    res['action'] = result_def['action'](self, cr, uid, data, context)
  File "/var/local/software/openerp-v6.0dev/server/bin/addons/base_module_record/wizard/base_module_record_data.py", line 99, in _record_objects
    search_ids=obj_pool.search(cr,uid,search_condition)
  File "/var/local/software/openerp-v6.0dev/server/bin/osv/orm.py", line 1842, in search
  File "/var/local/software/openerp-v6.0dev/server/bin/osv/orm.py", line 2161, in _search
    break
  File "/var/local/software/openerp-v6.0dev/server/bin/tools/safe_eval.py", line 275, in safe_eval
    return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
  File "", line 1, in <module>
KeyError: 'create_date'

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  KeyError: 'create_date'

Status in OpenObject Addons Modules:
  New

Bug description:
  
Use base_module_record to export data but experience the following error

addons/ : revno: 3986
addons-community/ : revno: 287
addons-extra/ : revno: 5170
server/ : revno: 3080


Environment Information : 
System : Windows-Vista-6.0.6002-SP2
OS Name : nt
Operating System Release : Vista
Operating System Version : 6.0.6002
Operating System Architecture : 32bit
Operating System Locale : vi_VN.cp1258
Python Version : 2.5.2
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/var/local/software/openerp-v6.0dev/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/var/local/software/openerp-v6.0dev/server/bin/service/web_services.py", line 633, in dispatch
    security.check(db,uid,passwd)
  File "/var/local/software/openerp-v6.0dev/server/bin/service/web_services.py", line 660, in exp_execute
    if wiz_id in self.wiz_uid:
  File "/var/local/software/openerp-v6.0dev/server/bin/service/web_services.py", line 642, in _execute
    self.wiz_datas[wiz_id].update(datas)
  File "/var/local/software/openerp-v6.0dev/server/bin/wizard/__init__.py", line 177, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/var/local/software/openerp-v6.0dev/server/bin/wizard/__init__.py", line 81, in execute_cr
    res['action'] = result_def['action'](self, cr, uid, data, context)
  File "/var/local/software/openerp-v6.0dev/server/bin/addons/base_module_record/wizard/base_module_record_data.py", line 99, in _record_objects
    search_ids=obj_pool.search(cr,uid,search_condition)
  File "/var/local/software/openerp-v6.0dev/server/bin/osv/orm.py", line 1842, in search
  File "/var/local/software/openerp-v6.0dev/server/bin/osv/orm.py", line 2161, in _search
    break
  File "/var/local/software/openerp-v6.0dev/server/bin/tools/safe_eval.py", line 275, in safe_eval
    return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
  File "", line 1, in <module>
KeyError: 'create_date'





Follow ups

References