Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2938 Tampilan

I'm trying to do something like this:
    

product_id = 2
product = self.env['product.product'].search([('id''=', product_id)])
unit_amount = product.price_get('standard_price')[product.id]


But I get a price that seems to be always in the default currency. How do I get that price with currency defined elsewhere (for example in separate field).

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Jul 22
8272
9
Jul 25
18247
0
Sep 15
6273
Setting Currency Diselesaikan
2
Mei 15
4757
0
Des 16
3921