Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2572 Widoki

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 ):

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
mar 24
8516
1
lut 24
1530
0
lut 23
4375
0
sty 23
93
1
paź 22
3913