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.
I viewed the coding and procedures to get url but it is always used with respect to a partner object. For more info: Q/A @ help.openerp.com.
I am in need to send the email to users if the task is gonna be expired soon. In the email, I need to have a link to the project.task record similar to
Thanks & Regards,
You can can web_base_url option (
Settings-->Customisation-->Low level objects-->System parameters) to get your custom url and append additional info to it like action_id and model name. So as an example to get link to specific product your code will looks like:
action_id = Get action id opening your form base_url = Url from system parameters product_id = Id of product you want to get link to link = '%s:8069/web/webclient/home#id=%s&view_type=form&title=Products&model=product.product&action_id=%s' % (base_url, product_id, action_id)
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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: 10/3/13, 10:08 AM|
|Seen: 2472 times|
|Last updated: 3/31/15, 5:36 PM|