Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
9002 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhấ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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhấ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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhấ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.

Ảnh đại diện
Huỷ bỏ