Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

RuntimeError while customizing module for hr.employee..? [Closed]

By
Anand
on 11/27/14, 9:12 AM 783 views

The Question has been closed for reason: not relevant or out dated

by
Anand
on 01/20/2015 05:48:48

Odoo(ver-7)

actually while developing a custom module I override the read method like.. 

def read(self, cr, uid, ids, fields=None, context=None, load='_classic_read'):
        print "its innnnnn readddddddddddd"
        hr_employee=self.pool.get('hr.employee').browse(cr,uid,ids)
        current_date=datetime.now()
        for rec in hr_employee:
            print rec.birthday
            print type(rec)
            print current_date.day
        result={}
        result = super(bday_employees, self).read(cr, uid, ids, fields=fields, context=context, load=load)
        canwrite = self.pool.get('ir.model.access').check(cr, uid, 'hr.employee', 'write', False)
        if not canwrite:
            if isinstance(ids, (int, long)):
                result = override_password(result)
            else:
                result = map(override_password, result)
     
        return result

it gives error.. 

OpenERP Server Error

Client Traceback (most recent call last): File "/home/ak/workspace/raymonds/openerp/addons/web/http.py", line 204, in dispatch response["result"] = method(self, **self.params) File "/home/ak/workspace/raymonds/openerp/addons/web/controllers/main.py", line 1051, in search_read return self.do_search_read(req, model, fields, offset, limit, domain, sort) File "/home/ak/workspace/raymonds/openerp/addons/web/controllers/main.py", line 1086, in do_search_read records = Model.read(ids, fields or False, req.context) File "/home/ak/workspace/raymonds/openerp/addons/web/session.py", line 42, in proxy result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw) File "/home/ak/workspace/raymonds/openerp/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "/home/ak/workspace/raymonds/openerp/addons/web/session.py", line 103, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info) Server Traceback (most recent call last): File "/home/ak/workspace/raymonds/openerp/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/home/ak/workspace/raymonds/openerp/netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/home/ak/workspace/raymonds/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, *params) File "/home/ak/workspace/raymonds/openerp/osv/osv.py", line 190, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/home/ak/workspace/raymonds/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, *args, **kwargs) File "/home/ak/workspace/raymonds/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/home/ak/workspace/raymonds/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 19, in read print rec.bday_date File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 502, in __getattr__ return self[name] File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/home/ak/workspace/raymonds/openerp/addons/hr-bday/hr_bday.py", line 16, in read hr_employee=self.pool.get('hr.employee').browse(cr,uid,ids) File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 4591, in browse return self._list_class((browse_record(cr, uid, id, self, cache, context=context, list_class=self._list_class, fields_process=fields_process) for id in select), context=context) File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 305, in __init__ super(browse_record_list, self).__init__(lst) File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 4591, in <genexpr> return self._list_class((browse_record(cr, uid, id, self, cache, context=context, list_class=self._list_class, fields_process=fields_process) for id in select), context=context) File "/home/ak/workspace/raymonds/openerp/osv/orm.py", line 342, in __init__ self.__logger = logging.getLogger('openerp.osv.orm.browse_record.' + self._table_name) File "/usr/lib/python2.7/logging/__init__.py", line 1559, in getLogger return Logger.manager.getLogger(name)

RuntimeError: maximum recursion depth exceeded

 

but if i replace it with rec.id in tha loop then it goes fine.. but i need birthday to get printed...

Please help me....?

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/27/14, 9:12 AM
Seen: 783 times
Last updated: 3/16/15, 8:10 AM