[IMP] hr_work_entry: Make clear that validated work entries cannot be modified

TaskID: 2337204
This commit is contained in:
Yannick Tivisse
2020-09-18 10:33:20 +00:00
parent 61139a4a52
commit 140e5dafba
@@ -42,6 +42,9 @@
<header>
<field name="state" widget="statusbar" options="{'clickable': '1'}" statusbar_visible="draft,validated,conflict"/>
</header>
<div class="alert alert-warning text-center" role="alert" attrs="{'invisible': [('state', '!=', 'validated')]}">
Note: Validated work entries cannot be modified.
</div>
<sheet>
<div class="oe_title">
<h1>