diff options
| author | Yenthe666 <yenthevg@gmail.com> | 2019-12-11 13:23:43 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-12-16 15:10:24 +0000 |
| commit | 7876af3ad0f35d4e0ac2839546aef6fd0bc117e1 (patch) | |
| tree | ab2eeb672a55fe828dc8e3cf49d3430fccb01415 /addons/payment/views/payment_views.xml | |
| parent | b5db1c61ee078c0dc0b6beec955d7fffedc6532b (diff) | |
[IMP] *: set name on page elements
page is an element that is often used for xpath
closes odoo/odoo#41718
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/payment/views/payment_views.xml')
| -rw-r--r-- | addons/payment/views/payment_views.xml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/addons/payment/views/payment_views.xml b/addons/payment/views/payment_views.xml index c95e2dda2fd..c5efaad0f93 100644 --- a/addons/payment/views/payment_views.xml +++ b/addons/payment/views/payment_views.xml @@ -40,7 +40,7 @@ <group name="acquirer"> </group> </page> - <page string="Configuration"> + <page string="Configuration" name="configuration"> <group name="acquirer_config"> <group string="Payment Form" name="payment_form"> <field name="display_as" placeholder="If not defined, the acquirer name will be used."/> @@ -62,7 +62,7 @@ </group> </group> </page> - <page string="Fees" attrs="{'invisible': [('fees_implemented', '=', False)]}"> + <page string="Fees" name="fees" attrs="{'invisible': [('fees_implemented', '=', False)]}"> <group name="payment_fees"> <field name="fees_active"/> <field name="fees_dom_fixed" attrs="{'invisible': [('fees_active', '=', False)]}"/> @@ -71,7 +71,9 @@ <field name="fees_int_var" attrs="{'invisible': [('fees_active', '=', False)]}"/> </group> </page> - <page string="Messages" attrs="{'invisible': [('module_id', '=', True), ('module_state', '!=', 'installed')]}"> + <page string="Messages" + name="messages" + attrs="{'invisible': [('module_id', '=', True), ('module_state', '!=', 'installed')]}"> <group> <field name="pre_msg"/> <field name="auth_msg" attrs="{'invisible': [('authorize_implemented', '=', False)]}"/> @@ -405,7 +407,7 @@ <h1><field name="name" placeholder="Name"/></h1> </div> <notebook> - <page string="Acquirers list"> + <page string="Acquirers list" name="acquirers"> <field nolabel="1" name="acquirer_ids"/> </page> </notebook> |
