diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/account/static/src/xml/tax_group.xml | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/account/static/src/xml/tax_group.xml')
| -rw-r--r-- | addons/account/static/src/xml/tax_group.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/addons/account/static/src/xml/tax_group.xml b/addons/account/static/src/xml/tax_group.xml new file mode 100644 index 00000000..807fcfc7 --- /dev/null +++ b/addons/account/static/src/xml/tax_group.xml @@ -0,0 +1,35 @@ +<?xml version='1.0' encoding='utf-8'?> + +<templates> + <t t-name="AccountTaxGroupTemplate"> + <table class="o_group o_inner_group oe_subtotal_footer border-0 my-0" style="min-width: 100%;"> + <tbody> + <t t-foreach="lines" t-as="line"> + <tr> + <td class="o_td_label oe_tax_group_name"> + <label class="o_form_label" t-esc="line[0]"/> + </td> + <td class="oe_tax_group_editable" t-att-data-tax-group-id="line[6]"> + <t t-if="displayEditWidget and line[1] !== 0"> + <span class="tax_group_edit"> + <i class="fa fa-pencil"></i> + <span class="oe_tax_group_amount_value"> + <t t-esc="line[3]"/> + </span> + </span> + <span class="tax_group_edit_input d-none"> + <input type="text" class="o_field_float o_field_number o_input" t-att-data-original-value="line[1]"/> + </span> + </t> + <t t-if="!displayEditWidget or line[1] === 0"> + <span class="oe_tax_group_amount_value"> + <t t-esc="line[3]"/> + </span> + </t> + </td> + </tr> + </t> + </tbody> + </table> + </t> +</templates> |
