Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
This code returns a string in english:
description = (pool.get('ir.model.data') .get_object(cr, uid, 'crm_unassigned_leads_notify', 'mt_unassigned_lead') .description)
However, it's translated to spanish in the module, and it appears correctly translated in the UI.
How can I get that string translated?
Note that I cannot use
from openerp.tools import _ because this code runs as an automated action, in a sandboxed environment. See the whole code if you need to.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 2/25/14, 5:53 AM|
|Seen: 909 times|
|Last updated: 3/16/15, 8:10 AM|