summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaa <laa@odoo.com>2019-10-30 08:10:21 +0000
committerlaa <laa@odoo.com>2019-10-30 08:10:21 +0000
commita8fdda66385c330a688415849c845e4be64cd74c (patch)
tree299a78f3d20f2992b5b525fe302455cce89ce468
parent00022bd7fcd45a294946b761cddc5395abcc971d (diff)
[FIX] hr_holidays: don't show the name in edit mode
When changing fields in Manager -> Allocation Form, the name (display_name) was recalculated only after the form was saved or only after the description was changed. closes odoo/odoo#39553 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
-rw-r--r--addons/hr_holidays/views/hr_leave_allocation_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_holidays/views/hr_leave_allocation_views.xml b/addons/hr_holidays/views/hr_leave_allocation_views.xml
index 87eadc7d43c..d4a15baf5d9 100644
--- a/addons/hr_holidays/views/hr_leave_allocation_views.xml
+++ b/addons/hr_holidays/views/hr_leave_allocation_views.xml
@@ -80,7 +80,7 @@
</div>
</button>
</div>
- <div class="oe_title">
+ <div class="oe_title oe_read_only">
<h2><field name="display_name"/></h2>
</div>
<group>