[FIX] project: task form view: many2one field's domain

Commit 9b69184ff. removed field 'state' of model 'project.project', and
converts domains using it to use field 'active' instead. However, the domain
of the many2one field in the task form view hasn't been correctly converted
(['state', 'not in' , ['closed', 'cancelled']] should be ['active', '=', True]).
This commit is contained in:
Aaron Bohy
2016-08-10 08:15:47 +02:00
parent e7c9f57623
commit 5d7be21e28
+1 -1
View File
@@ -360,7 +360,7 @@
</div>
<group>
<group>
<field name="project_id" domain="[('active', '=', False)]" context="{'default_use_tasks':1}"/>
<field name="project_id" domain="[('active', '=', True)]" context="{'default_use_tasks':1}"/>
<field name="user_id"
class="o_task_user_field"
options='{"no_open": True}'/>