[IMP] project_stage: changed default context for group by stage

Also added the ability to create new stages in the project.project kanban view

H4496
This commit is contained in:
Connor Christian
2020-11-16 18:32:07 -05:00
committed by Jared Kipe
parent b81574036c
commit b8dae7cfa1

View File

@@ -105,6 +105,7 @@
<!-- Add `o_kanban_small_column` to prevent strange wrapping -->
<xpath expr="//kanban" position="attributes">
<attribute name="class">o_kanban_small_column oe_background_grey o_kanban_dashboard o_project_kanban o_emphasize_colors</attribute>
<attribute name="group_create">true</attribute>
</xpath>
<xpath expr="//kanban/field[@name='name']" position="after">
<field name="stage_id" options="{'group_by_tooltip': {'description': 'Stage Description'}}"/>
@@ -121,6 +122,10 @@
</field>
</record>
<record id="project.open_view_project_all" model="ir.actions.act_window">
<field name="context">{"search_default_group_stage":1}</field>
</record>
<record id="edit_project_inherit" model="ir.ui.view">
<field name="name">project.project.form.inherit</field>
<field name="model">project.project</field>