summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYenthe V.G <yenthevg@gmail.com>2018-10-01 12:56:47 +0000
committerMartin Trigaux <mat@odoo.com>2019-01-22 10:30:22 +0000
commit2e37b16e1b1cb4b4f1a8c16ae01424fb2fe92096 (patch)
tree71fb05222b915888d826eaa64e4e6aa923b993eb
parentf6cb0f23085d6f1852c1158f32e92b3ed5641149 (diff)
[IMP] hr_expense: add names for easier xpaths
closes odoo/odoo#27353
-rw-r--r--addons/hr_expense/views/hr_expense_views.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/hr_expense/views/hr_expense_views.xml b/addons/hr_expense/views/hr_expense_views.xml
index d723726e633..cfa59fbe47e 100644
--- a/addons/hr_expense/views/hr_expense_views.xml
+++ b/addons/hr_expense/views/hr_expense_views.xml
@@ -462,7 +462,7 @@
</h1>
</div>
<group>
- <group>
+ <group name="employee_details">
<field name="employee_id"/>
<field name="payment_mode"/>
<field name="user_id"/>
@@ -472,7 +472,7 @@
</group>
</group>
<notebook>
- <page string="Expense">
+ <page name="expenses" string="Expense">
<field name="expense_line_ids" nolabel="1" widget="many2many" domain="[('state', '=', 'draft')]" options="{'reload_on_button': True}" context="{'form_view_ref' : 'hr_expense.hr_expense_view_form_without_header', 'expense_adding_line': True}">
<tree decoration-danger="is_refused">
<field name="date"/>
@@ -499,7 +499,7 @@
<field name="total_amount" nolabel="1" class="oe_subtotal_footer_separator"/>
</group>
</page>
- <page string="Other Info">
+ <page name="other_info" string="Other Info">
<group>
<group>
<field name="journal_id" domain="[('type', '=', 'purchase')]" options="{'no_open': True, 'no_create': True}" attrs="{'invisible': [('payment_mode', '!=', 'own_account')]}"/>
@@ -509,7 +509,7 @@
<group>
<field name="account_move_id" groups="account.group_account_user" attrs="{'invisible': [('state', 'not in', ['post', 'done'])]}" readonly="1"/>
</group>
- </group>
+ </group>
</page>
</notebook>
</sheet>