<field name="arch" type="xml">
<notebook position="inside">
<page string="Tasks">
- <separator string="Tasks management" colspan="4"/>
+ <separator string="Tasks Management" colspan="4"/>
<field name="project_id"/>
<button string="Create Retro-Planning" name="%(action_event_project)d" type="action" icon="gtk-execute"/>
<field name="task_ids" colspan="4" nolabel="1" widget="one2many_list" >
res_model="project.task"
src_model="event.event"
view_mode="tree,form,calendar,graph"
- context="{'search_default_project_id': project_id}"
+ context="{'search_default_project_id': project_id, 'default_project_id': project_id}"
view_type="form"/>
</data>