Skip to Content
मेन्यू
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
जुल॰ 22
7819
9
जुल॰ 25
17693
0
सित॰ 15
5851
2
मई 15
4362
0
दिस॰ 16
3494