How do i get the currency rate displayed on the transaction entry screen across all modules
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Check out the module "currency rate" by intelliversal integrated solutions.
Appreciated
To get a currency rate:
- Invoicing/Configuration/Currencies [or]
- Accounting/Configuration/Currencies
Just Activate which country currency you want!
And to display the currency in a form use,
in Python file:
currency_id = fields.Many2one('res.currency', string='Currency', default=lambda self: self.env.company.currency_id)
and in xml file:
add fields currency_id and fields amount with a widget="monetary" in the respective xml
Don't forgot to add "currency_id" , because sometimes if it is not present , then does not display the symbol of the currency
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký