Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
8967 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează