İçereği Atla
Menü
Bu soru işaretlendi
2736 Görünümler

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Tem 22
7952
9
Tem 25
17848
0
Eyl 15
6006
Setting Currency Çözüldü
2
May 15
4520
0
Ara 16
3710