Skip to Content
Menu
This question has been flagged
3182 Zobrazenia

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')
Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
máj 16
2937
2
apr 24
9049
3
jan 18
9175
3
júl 25
8877
1
máj 25
1130