Hi There,
I need to inherit a How can I do this? Here's the full code:xml version="1.0" encoding="utf-8"?>
t-name="account.TaxGroupComponent" owl="1">
class="o_td_label">
t-if="allowTaxEdition">
t-if="['edit', 'disable'].includes(state.value)">
class="o_tax_group_edit_input">
type="text"
t-ref="taxValueInput"
class="o_field_float
o_field_number o_input"
t-att-disabled="state.value === 'disable'"
t-on-blur.prevent="_onChangeTaxValue"/>
t-else="">
class="o_tax_group_edit" t-on-click.prevent="setState('edit')">
class="fa fa-pencil"/>
class="o_tax_group_amount_value">
t-esc="props.taxGroup.formatted_tax_group_amount"/>
t-else="">
class="o_tax_group_amount_value">
t-esc="props.taxGroup.formatted_tax_group_amount" style="white-space: nowrap;"/>
t-if="totals.value" class="oe_right">
t-foreach="totals.value.subtotals" t-as="subtotal" t-key="subtotal['name']">
class="o_td_label">
t-att-name="subtotal['name']" style="white-space: nowrap; font-weight: bold;" t-esc="subtotal['formatted_amount']"/>
t-foreach="totals.value.groups_by_subtotal[subtotal['name']]" t-as="taxGroup" t-key="taxGroup.group_key">
taxGroup="taxGroup"
record="record"
allowTaxEdition="totals.value.allow_tax_edition"
t-on-change-tax-group="_onChangeTaxValueByTaxGroup"
/>
class="o_td_label">
name="amount_total"
t-att-class="Object.keys(totals.value.groups_by_subtotal).length > 0 ? 'oe_subtotal_footer_separator' : ''"
t-esc="totals.value.formatted_amount_total"
style="white-space: nowrap; font-weight: bold; font-size: 1.3em;"
/>