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

Is it possible to override V7 fields with V8 related field?

I'm trying to do this for product.template but it does not work

fixed_price = fields.Float(string="Fixed sale price", digits=dp.get_precision('Product Price'))
lst_price = fields.Float(related='fixed_price')
list_price = fields.Float(related='fixed_price')
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 16
2856
2
thg 4 24
8920
3
thg 1 18
9019
3
thg 7 25
8682
1
thg 5 25
1005