Skip to Content
Menú
This question has been flagged
1 Respondre
3716 Vistes

hi guys, I want to show a field in the res.partner form view but the field is in another object. How can i do to show it in that view? Thanks a lot for your answers

Avatar
Descartar
Best Answer

Hi,

You must define a field type function in res.partner. and in this function get information in another object.

def _get_other(self,cr,uid,ids,field,arg,context=None):       
       res={}
       //your treatment
       return res

_columns = {
          'other': fields.function(_get_other, method=True, type='float',string='Info other'),
          }

Thank You.

Avatar
Descartar
Related Posts Respostes Vistes Activitat
4
de gen. 24
24079
2
de gen. 24
2987
0
d’ag. 23
2839
5
de set. 21
18288
3
de gen. 21
18724