Skip to content

Commit

Permalink
[MIG] maintenance_timesheet_time_control: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FernandoRomera committed Aug 21, 2024
1 parent 3d48154 commit f27fc68
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion maintenance_timesheet_time_control/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Maintenance Timesheets Time Control",
"summary": "Maintenance Timesheets Timesheet Time Control",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"category": "Hidden",
"author": "Tecnativa,Odoo Community Association (OCA)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
string="Start work"
type="object"
icon="fa-play-circle text-success"
attrs="{'invisible': [('show_time_control', '!=', 'start')]}"
invisible="show_time_control != 'start'"
class="oe_stat_button"
groups="hr_timesheet.group_hr_timesheet_user"
/>
Expand All @@ -30,7 +30,7 @@
string="Stop work"
type="object"
icon="fa-stop-circle text-warning"
attrs="{'invisible': [('show_time_control', '!=', 'stop')]}"
invisible="show_time_control != 'stop'"
class="oe_stat_button"
groups="hr_timesheet.group_hr_timesheet_user"
/>
Expand Down Expand Up @@ -72,7 +72,7 @@
tabindex="-1"
type="object"
icon="fa-play-circle text-success"
attrs="{'invisible': [('show_time_control', '!=', 'resume')]}"
invisible="show_time_control != 'resume'"
class="oe_stat_button"
groups="hr_timesheet.group_hr_timesheet_user"
/>
Expand All @@ -82,7 +82,7 @@
tabindex="-1"
type="object"
icon="fa-stop-circle text-warning"
attrs="{'invisible': [('show_time_control', '!=', 'stop')]}"
invisible="show_time_control != 'stop'"
class="oe_stat_button"
groups="hr_timesheet.group_hr_timesheet_user"
/>
Expand All @@ -107,7 +107,7 @@
/>
<a
name="button_start_work"
attrs="{'invisible': [('show_time_control', '!=', 'start')]}"
invisible="show_time_control != 'start'"
class="o_kanban_inline_block fa fa-lg fa-play-circle text-success"
title="Start work"
tabindex="-1"
Expand All @@ -116,7 +116,7 @@
/>
<a
name="button_end_work"
attrs="{'invisible': [('show_time_control', '!=', 'stop')]}"
invisible="show_time_control != 'stop'"
class="o_kanban_inline_block fa fa-lg fa-stop-circle text-warning"
title="Stop work"
tabindex="-1"
Expand Down Expand Up @@ -148,7 +148,7 @@
tabindex="-1"
type="object"
icon="fa-play-circle text-success"
attrs="{'invisible': [('show_time_control', '!=', 'start')]}"
invisible="show_time_control != 'start'"
class="oe_stat_button"
groups="hr_timesheet.group_hr_timesheet_user"
/>
Expand All @@ -158,7 +158,7 @@
tabindex="-1"
type="object"
icon="fa-stop-circle text-warning"
attrs="{'invisible': [('show_time_control', '!=', 'stop')]}"
invisible="show_time_control != 'stop'"
class="oe_stat_button"
groups="hr_timesheet.group_hr_timesheet_user"
/>
Expand Down

0 comments on commit f27fc68

Please sign in to comment.