Contributors mailing list archives
Re: New module to create project and tasks with associated hours from Sale Orderby
In my case there is an error if i click on it:
File "/odoo/odoo-server/odoo/api.py", line 672, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/odoo/odoo-server/addons/link_sale_project_tasks/models/sale_order.py", line 40, in saleorder_update_tasks
(line.price_subtotal / lf_tarif_jour)
TypeError: unsupported operand type(s) for /: 'float' and 'NoneType'
If i understand correctly you create the new task(s) at the time you confirm a sale order. Is it intended to assign further tasks after the sale order is confirmed already ? Maybe it will be more clear if the error wouldn't popup anymore.
we have been working lately on a module that creates projects and tasks based on sale order lines for Odoo v10.
Basically, you configure a number of products that would be transformed in tasks (with content of sale order line), and it calculates the amount of hours to assign to the project and each task based on the quoted amount.
I guess this could be interesting for the community, so we were thinking about where to push it in OCA repos ?
I know there is already a sale_order_project module in project repo which covers only the creation of project from sale order (but not tasks and not allocating time).
I guess that both could live in parallel since ours depends on sale_timesheet which may not be needed in some use case where you would only need to create project from sale order without caring about tasks and allocated time.
You can find the module here for now : https://github.com/lefilament/link_sale_project_tasks
What do you think ?
SCOP LE FILAMENT
Le Filament, Rémi Cazenave