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 am trying to create a task from a new quotation which copies its products as text to task description automatically.
I have a server action setup that is triggered by an automated action.
The automated action is triggered when a Quotation gets created.
The server action Base is set to "Sales Order" and I have it set to "Create or Copy a new Record" and Creation Policy is set to "Create a new record in another model".
My Target Model is set to "Task"
Value mapping is set as:
|Task Title||Python expression||'FW order - '+object.partner_id.name|
Everything is working so far except the Description part. Python expression: object.product_id.name is only getting the first product value of the quotation. I want it to get every product. How can this be done?
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: 6/29/16, 8:49 AM|
|Seen: 1198 times|
|Last updated: 6/29/16, 10:24 AM|