[IMP] project: not create project from task

Prevent user to create project on the fly when
editing task. This will avoid user to create bad
project (typo, ...) and will force then to be more
organized: create a project first, then populate
it with tasks.

Task-1893021
This commit is contained in:
jem-odoo
2019-01-16 08:28:09 +00:00
parent eca54926dc
commit 4669c524db
+1 -1
View File
@@ -444,7 +444,7 @@
</div>
<group>
<group>
<field name="project_id" domain="[('active', '=', True)]"/>
<field name="project_id" domain="[('active', '=', True)]" options="{'no_create': True}"/>
<field name="user_id"
class="o_task_user_field"
options='{"no_open": True}'/>