تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2644 أدوات العرض

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).

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يوليو 22
7843
9
يوليو 25
17717
0
سبتمبر 15
5868
Setting Currency تم الحل
2
مايو 15
4388
0
ديسمبر 16
3540