Browse Source

[FIX] fix inherit_id

12.0-add-financial-risk
houssine 5 years ago
parent
commit
5a2b3a04e3
  1. 4
      easy_my_coop_ch/views/subscription_template.xml
  2. 7
      easy_my_coop_fr/views/subscription_template.xml

4
easy_my_coop_ch/views/subscription_template.xml

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="subscription_i18n_ch" inherit_id="easy_my_coop.becomecooperator" name="Removing fields">
<template id="subscription_i18n_ch" inherit_id="easy_my_coop_website.becomecooperator" name="Removing fields">
<xpath expr="//label[@for='iban']/.." position="replace">
<div t-attf-class="form-group #{error and 'iban' in error and 'has-error' or ''}">
<label class="col-md-3 col-sm-4 control-label" for="iban">Bank Account Number</label>
@ -12,7 +12,7 @@
</xpath>
</template>
<template id="company_subscription_i18n_ch" inherit_id="easy_my_coop.becomecompanycooperator" name="Company Removing fields">
<template id="company_subscription_i18n_ch" inherit_id="easy_my_coop_website.becomecompanycooperator" name="Company Removing fields">
<xpath expr="//label[@for='iban']/.." position="replace">
<div t-attf-class="form-group #{error and 'iban' in error and 'has-error' or ''}">
<label class="col-md-3 col-sm-4 control-label" for="iban">Bank Account Number</label>

7
easy_my_coop_fr/views/subscription_template.xml

@ -1,7 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="subscription_i18n" inherit_id="easy_my_coop.becomecooperator" name="Removing fields">
<template id="subscription_i18n_fr" inherit_id="easy_my_coop_website.becomecooperator" name="Removing fields">
<xpath expr="//label[@for='iban']/.." position="replace">
</xpath>
</template>
<template id="company_subscription_i18n_fr" inherit_id="easy_my_coop_website.becomecompanycooperator" name="Company Removing fields">
<xpath expr="//label[@for='iban']/.." position="replace">
</xpath>
</template>

Loading…
Cancel
Save