Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1988 Представления

Hello.

I need help to create an automation of a sale order.

he automation for creating a task of a product which is not a service is working.

I made like this:


As you can see I create an order for which the name variable ”titre” is record.name+ ‘ _ ‘ + record.partner_id.name.

A second automatisation is creating the sub-tasks of the order which in fact are the products lines of the order.

One sub_task I creating for each product.

I do this like this:

 
The last “data to read“ line is to set the parent task (the order) of the sub_task (the product).

Can someone help me writing the Python code. I tried a lot but didn’t find.

I thank you in advance

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
окт. 24
1019
2
авг. 25
1492
2
мая 25
801
1
окт. 24
1215
3
мар. 24
1853