跳至內容
選單
此問題已被標幟
2573 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
3月 24
8516
1
2月 24
1530
0
2月 23
4375
0
1月 23
93
1
10月 22
3915