This is another example of using Automated Actions. When a Sales Order is confirmed this will create tasks (on a project) for each of the sales order lines .
Enable Developer Mode and navigate to Settings / Technical / (Automation) / Automated Actions:
Data to Write:
record.order_id.name + ' / ' + record.product_id.name
This is a very simple example and it can be adapted quite easily. For example you could write other information to the task by changing the Python expression:
record.product_id.name + ' / ' + str(record.product_uom_qty)
(that will write the Product name and quantity)
Note that Odoo already has standard functionality to create projects or tasks for service items, and that may be a simpler way to achieve the same thing.