Hey I\'m new to openerp and I need help to create a function field called Total that calculates the sum of all the fields of the same object... eg.
_name = \
def get_total(self, cr, uid, ids, field_name, arg, context): res = [] perfos = self.browse(cr, uid, ids, context) for perfo in perfos: res[perfo.id] = perfo.p + perfo.b return res