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

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')
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
5月 16
2934
2
4月 24
9042
3
1月 18
9164
3
7月 25
8873
1
5月 25
1129