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

At Installation of Ecommerce gives INR as currency but now that INR i want to convert in USD but not working...

الصورة الرمزية
إهمال
أفضل إجابة

hi,

follow the instructions which are prvided in the below link:

http://www.serpentcs.com/serpentcs-currency-operations-in-openerp-7

 

Hope ,it will works fine

الصورة الرمزية
إهمال
أفضل إجابة

In your python file define field.

currency_id=fields.Many2one('res.currency', 'Currency', required=True)

 

in your xml file.

<field name="basic_pay" style="width:60%%" widget="monetary" options="{'currency_field': 'currency_id'}"/>

<field name="currency_id" ref="base.USD"/>

 

here i use basic salary with usd symbol.

الصورة الرمزية
إهمال
أفضل إجابة

We have created the currency changing facility for loged in users.

For,this user must be a registerd and login.

When user select the currency in website's header, set the pricelist created for that currency in to partner related to loged in user.

You can achive this using json call from the javascript.

الصورة الرمزية
إهمال