Hi Naresh,

Thank you for ur reply.

I changed the function code as u said as follows

def _f_code(self, cr, uid, ids, field_name, arg, context={}):
                         res = {}
                         for obj in self.browse(cr,uid,ids):
                                 res[obj.id] = obj.code11.code1 + 
obj.code22.code2 + obj.code33.code3 + obj.code44.code4
                         return res

now the error occurred was:

Environment Information : 
System : Windows-XP-5.1.2600-SP2
OS Name : nt
Operating System Release : XP
Operating System Version : 5.1.2600
Operating System Architecture : 32bit
Operating System Locale : en_US.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.2
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call 
last):
  File "netsvc.pyo", line 240, in dispatch
  File "netsvc.pyo", line 73, in __call__
  File "service\web_services.pyo", line 583, in execute
  File "osv\osv.pyo", line 59, in wrapper
  File "osv\osv.pyo", line 119, in execute
  File "osv\osv.pyo", line 111, in execute_cr
  File "osv\orm.pyo", line 2057, in read
  File "osv\orm.pyo", line 244, in __eq__
AttributeError: 'NoneType' object has no attribute '_table_name'

Thank you




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=41321#41321

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to