İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
8951 Görünümler

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

Avatar
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
En İyi Yanıt

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.

Avatar
Vazgeç
En İyi Yanıt

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.

Avatar
Vazgeç