Skip to content
Snippets Groups Projects
Commit 19cef782 authored by niyasraphy's avatar niyasraphy
Browse files

[FIX] hr: disable launch plan button on warning


closes odoo/odoo#106385

Signed-off-by: default avatarKevin Baptiste <kba@odoo.com>
parent a87460bd
Branches
Tags
No related merge requests found
......@@ -19,7 +19,7 @@
</sheet>
<footer>
<button name="action_launch" string="Launch Plan" type="object" class="oe_highlight" attrs="{'invisible': [('warning', '!=', False)]}" groups="hr.group_hr_user" data-hotkey="q"/>
<button name="action_launch" string="Launch Plan" type="object" class="oe_highlight" disabled="disabled" attrs="{'invisible': [('warning', '=', False)]}" groups="hr.group_hr_user" data-hotkey="q"/>
<button name="action_launch" string="Launch Plan" type="object" class="oe_highlight disabled" attrs="{'invisible': [('warning', '=', False)]}" groups="hr.group_hr_user" data-hotkey="q"/>
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
</footer>
</form>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment