Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
8930 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć