Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2738 Visualizações

I am using sequence to let user  manually  change the presentation of data (property_type) , my python code is:

_order = "sequence, property_type"

sequence = fields.Integer('Sequence', default=1, help="Used to order stages. Lower is better.")
property_type = fields.Selection(string='Property Type1', required=True, \
selection=[('house', 'House'), ('apartment', 'Apartment'), ('penthouse', 'Penthouse'), ('castle', 'Castle')])
and my xml code (I don't know why each time I paste xml code, here it will get distorted or even missing so  I  enclosed  them  in  remark  tag ):

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
mar. 24
8824
1
fev. 24
1738
0
fev. 23
4911
0
jan. 23
94
1
out. 22
4246