Skip to content
Snippets Groups Projects
Commit 9796d582 authored by root's avatar root
Browse files

[FIX] hr_timesheet: never update timesheet rounding params


Before this fix if a user updated the module hr_timesheet the ir.config_parameters would be reset.
By wrapping them in a no-update they're no longer updated with a module update and thus kept as set by the user.

closes odoo/odoo#72732

X-original-commit: 369529cb
Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
parent 2f098b25
Branches
Tags
No related merge requests found
......@@ -15,14 +15,16 @@
name="_init_data_analytic_account"
eval="[]"/>
<record id="ir_config_parameter_timesheet_rounding" model="ir.config_parameter">
<field name="key">hr_timesheet.timesheet_rounding</field>
<field name="value">15</field>
</record>
<record id="ir_config_parameter_timesheet_min_duration" model="ir.config_parameter">
<field name="key">hr_timesheet.timesheet_min_duration</field>
<field name="value">15</field>
</record>
<data noupdate="1">
<record id="ir_config_parameter_timesheet_rounding" model="ir.config_parameter">
<field name="key">hr_timesheet.timesheet_rounding</field>
<field name="value">15</field>
</record>
<record id="ir_config_parameter_timesheet_min_duration" model="ir.config_parameter">
<field name="key">hr_timesheet.timesheet_min_duration</field>
<field name="value">15</field>
</record>
</data>
<record id="internal_project_default_stage" model="project.task.type">
<field name="sequence">1</field>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment