Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3169 Lượt xem

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',""),

            }
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 24
2135
3
thg 10 23
5968
0
thg 7 24
3176
2
thg 1 23
5347
0
thg 7 22
60