Odoo Help


Module "Create Tasks on SO" : Can I change the generated name? [Closed]

on 5/14/13, 7:45 AM 1,921 views

The Question has been closed

Sudhir Arya (ERP Harbor Consulting Services)
on 05/15/2013 02:46:12

I am using the module "Create Tasks on SO". Here is what this module does:

This module will automatically create a new task for each procurement order line (e.g. for sale order lines), if the corresponding product meets the following characteristics: Product Type = Service Procurement Method = Make to Order Procurement Method = Manufacture If on top of that a projet is specified on the product form (in the Procurement tab), then the new task will be created in that specific project.

This is an excellent module, and I can make good use out it's functionality; but there's one thing bothering me. The name the generated task will receive is made like this: "Order number + : + Product name". Example: SO101: Quick Intervention.

Once you have a few tasks, and in our case especially seeing we're selling the same products a lot; it will be hard to keep track of which task belongs to which client.

I am looking for a way to change the generated name. E.g. into "Order number + , + Client name + : + Product name".

This way it'd be easier to navigate through the task list, and get an idea about what each record represents; rather than having to go back to the SO list to verify each time.

Does anyone have an idea how I might best approach this feat?


Sudhir Arya (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
| 6 8 8
Ahmedabad, India
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

• Active Memeber On Stackoverflow 




Sudhir Arya
ERP Harbor Consulting Services
Sudhir Arya (ERP Harbor Consulting Services)
On 5/14/13, 8:03 AM

If you want to create custom module then you have to override def action_produce_assign_service method and then can change name of task according to your requirement.

If you want to change core module then go to project_mrp/project_procurement.py and find def action_produce_assign_service method in that you can change 'name': '%s:%s' % (procurement.origin or '', procurement.product_id.name), this piece of code to change task name.

Thank you very much, your instruction was spot on.

on 5/14/13, 2:33 PM

My pleasure.

Sudhir Arya (ERP Harbor Consulting Services)
on 5/15/13, 1:35 AM

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 5/14/13, 7:45 AM
Seen: 1921 times
Last updated: 3/16/15, 8:10 AM