Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2615 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
7820
9
Jul 25
17696
0
Sep 15
5854
Setting Currency Diselesaikan
2
Mei 15
4365
0
Des 16
3498