[FIX] sale_project: fix default billable for non fsm project

Before this commit, While creating project from configuration
billable was not set true after enabling all fields from
settings in project.

So in this commit, allow_billable should be True by default for
non FSM projects.

task-2995118

closes odoo/odoo#103079

X-original-commit: 49125d9ad4e7d750550afdb0f900331ceb0f3f4a
Related: odoo/enterprise#32717
Signed-off-by: Xavier <xbo@odoo.com>
Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
This commit is contained in:
Pratik Awasthi
2022-10-11 20:25:26 +02:00
committed by Xavier BOL (xbo)
parent 28b58c9e90
commit 7915ed452e
@@ -3,4 +3,13 @@
<record id="project.open_view_project_all_config" model="ir.actions.act_window">
<field name="context">{'default_allow_billable': True}</field>
</record>
<record id="project.open_view_project_all_config_group_stage" model="ir.actions.act_window">
<field name="context">{'default_allow_billable': True}</field>
</record>
<record id="project.open_view_project_all" model="ir.actions.act_window">
<field name="context">{'default_allow_billable': True}</field>
</record>
<record id="project.open_view_project_all_group_stage" model="ir.actions.act_window">
<field name="context">{'default_allow_billable': True, 'search_default_groupby_stage': 1}</field>
</record>
</odoo>