Skip to Content
Menu
This question has been flagged

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
Discard
Related Posts Replies Views Activity
2
Jul 22
6781
9
Dec 23
16336
0
Sep 15
4957
2
May 15
3599
0
Dec 16
2729