Skip to Content
मेन्यू
This question has been flagged
3161 Views

HI guys

class xpto

_columns= {

           'code': fields.char('Código', size=20, required='True'),

           'name': fields.char('Designação', size=60, required='True'),

           'lugares_ids': fields.one2many('gs.lugares', 'recinto_id', 'Lugares'),

           'active': fields.boolean('Activo')}

ok guys I have these two files , I want to show only the code and the name on the class xpto2 I did this but this only shows the name what I have to do?

class xpto2

_columns = {

    'name': fields.many2many('gs.recintos', 'wizard_recintos_rel', 'wizard_id', 'recinto_id',""),

            }
Avatar
Discard
Related Posts Replies Views Activity
1
फ़र॰ 24
2134
3
अक्तू॰ 23
5966
0
जुल॰ 24
3175
2
जन॰ 23
5346
0
जुल॰ 22
60