diff options
| author | Victor Feyens <vfe@odoo.com> | 2020-06-25 10:43:00 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-09-02 13:33:57 +0000 |
| commit | 977c2b9d12419fba3bada1ebefcca15f051ca565 (patch) | |
| tree | 99703d541d0f9cbd7413b3fc3a6da5db25a5138d /addons/hr_holidays/views | |
| parent | c8910e20f633b6bccc5aeb122144c1a08aaf41da (diff) | |
[FIX] various: remove duplicate fields in tree views
Remove duplicate fields in tree views / kanban (outside of templates).
A field should not be present twice in a tree view. If one of the nodes has
custom attributes then behavior of other nodes is somehow unpredictable.
Having field present only once gives a more coherent behavior. Xpaths
could also lead to weird results if fields are present several times as
developers generally do not expect fields to be present several times in a
view.
An heuristic to detect duplicate fields will land soon in master. As this
commit targets a stable version only view fixes are provided.
Task ID-2329114
PR odoo/odoo#56946
Diffstat (limited to 'addons/hr_holidays/views')
| -rw-r--r-- | addons/hr_holidays/views/hr_leave_views.xml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/hr_holidays/views/hr_leave_views.xml b/addons/hr_holidays/views/hr_leave_views.xml index 98de5bbbbfc..705ca75d31a 100644 --- a/addons/hr_holidays/views/hr_leave_views.xml +++ b/addons/hr_holidays/views/hr_leave_views.xml @@ -460,7 +460,6 @@ <field name="payslip_status" widget="toggle_button" options='{"active": "Reported in last payslips", "inactive": "To Report in Payslip"}' groups="hr_holidays.group_hr_holidays_user" nolabel="1"/> <field name="state" widget="badge" decoration-info="state == 'draft'" decoration-warning="state in ('confirm','validate1')" decoration-success="state == 'validate'"/> <field name="category_id" invisible="1"/> - <field name="department_id" invisible="1"/> <field name="user_id" invisible="1"/> <field name="message_needaction" invisible="1"/> <button string="Approve" name="action_approve" type="object" |
