Vauxoo / addons-clearcorp

Odoo ClearCorp Apps
GNU Affero General Public License v3.0
14 stars 40 forks source link

Hr Attendance Importer #689

Open mustafaengg opened 8 years ago

mustafaengg commented 8 years ago

Hr attendance importer for v8 is not working throwing errors sign in sign out not defined. I am using 2 lines import from sample template.

ajo123 commented 7 years ago

Hi, I have import some 1000 files after that attendance importer is not working it was showing error

Can you plz help me with this.

Odoo Server Error

Traceback (most recent call last): File "/home/ajo/workspace/odoo/odoo/openerp/http.py", line 544, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/home/ajo/workspace/odoo/odoo/openerp/http.py", line 581, in dispatch result = self._call_function(self.params) File "/home/ajo/workspace/odoo/odoo/openerp/http.py", line 317, in _call_function return checked_call(self.db, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/service/model.py", line 118, in wrapper return f(dbname, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/http.py", line 314, in checked_call return self.endpoint(*a, kw) File "/home/ajo/workspace/odoo/odoo/openerp/http.py", line 810, in call return self.method(*args, *kw) File "/home/ajo/workspace/odoo/odoo/openerp/http.py", line 410, in response_wrap response = f(args, kw) File "/home/ajo/workspace/odoo/odoo/addons/web/controllers/main.py", line 944, in call_kw return self._call_kw(model, method, args, kwargs) File "/home/ajo/workspace/odoo/odoo/addons/web/controllers/main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3148, in read result = BaseModel.read(records, fields, load=load) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 417, in _compute_state if attendance_mem.state == 'invalid': File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 835, in get self.determine_value(record) File "/home/ajo/workspace/odoo/odoo/openerp/fields.py", line 928, in determine_value record._prefetch_field(self) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3246, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3183, in read self._read_from_database(stored, inherited) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 3370, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/ajo/workspace/odoo/odoo/openerp/osv/fields.py", line 1462, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/ajo/workspace/custom-addons/hr_attendance_importer/wizard/file_import_wizard.py", line 258, in _compute_state attendance_ids = attendance_obj.search(cr, uid, cond, order='name desc', limit=1, context=context) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 1650, in search return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 268, in wrapper return old_api(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 4690, in _search query = self._where_calc(cr, user, args, context=context) File "/home/ajo/workspace/odoo/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/models.py", line 4501, in _where_calc e = expression.expression(cr, user, domain, self, context) File "/home/ajo/workspace/odoo/odoo/openerp/osv/expression.py", line 654, in init self._unaccent = get_unaccent_wrapper(cr) File "/home/ajo/workspace/odoo/odoo/openerp/osv/expression.py", line 450, in get_unaccent_wrapper if openerp.modules.registry.RegistryManager.get(cr.dbname).has_unaccent: File "/home/ajo/workspace/odoo/odoo/openerp/modules/registry.py", line 336, in get return cls.registries[db_name] File "/home/ajo/workspace/odoo/odoo/openerp/tools/func.py", line 66, in wrapper return func(self, *args, *kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/tools/lru.py", line 38, in getitem self[a[0]] = a[1] File "/home/ajo/workspace/odoo/odoo/openerp/tools/func.py", line 66, in wrapper return func(self, args, kwargs) File "/home/ajo/workspace/odoo/odoo/openerp/tools/lru.py", line 44, in setitem del self[obj] File "/home/ajo/workspace/odoo/odoo/openerp/tools/func.py", line 68, in wrapper lock.release() File "/usr/lib/python2.7/threading.py", line 213, in release self._note("%s.release(): non-final release", self) RuntimeError: maximum recursion depth exceeded

carlosrve commented 7 years ago

Hi @mustafaengg, @ajo123 ,

I am sorry, but right now we cannot help you with this fix. We have a lot of work and we cannot support free modules as a priority. If you submit a fix as a pull request we can check it out and if is it good we can approve it.

Regards,

randall-vx commented 6 years ago

@mustafaengg, @ajo123,

This is not an error in the clearcorp code, the error is caused by the recursion of the data loaded into the server. Try to load data into tracts or check the server configuration.