Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2627 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
čvc 22
7832
9
čvc 25
17709
0
zář 15
5862
2
kvě 15
4378
0
pro 16
3507