Skip to Content
Menu
This question has been flagged
3315 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
3097
2
apr 24
9237
3
jan 18
9362
3
júl 25
9121
1
máj 25
1375