|
@ -69,35 +69,18 @@ |
|
|
</span> |
|
|
</span> |
|
|
</div> |
|
|
</div> |
|
|
<div class="act_as_cell amount" style="width: 15%;"> |
|
|
<div class="act_as_cell amount" style="width: 15%;"> |
|
|
<t |
|
|
|
|
|
t-set="domain" |
|
|
|
|
|
t-value="[('tax_ids', 'in', [tax.tax_id.id for tax in tag.tax_ids]), |
|
|
|
|
|
('date', '>=', o.date_from), |
|
|
|
|
|
('date', '<=', o.date_to)]" |
|
|
|
|
|
/> |
|
|
|
|
|
<span t-att-domain="domain" res-model="account.move.line"> |
|
|
|
|
|
<t |
|
|
<t |
|
|
t-att-style="style" |
|
|
t-att-style="style" |
|
|
t-raw="tag_or_group['net']" |
|
|
t-raw="tag_or_group['net']" |
|
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" |
|
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" |
|
|
/> |
|
|
/> |
|
|
</span> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<div class="act_as_cell amount" style="width: 15%;"> |
|
|
<div class="act_as_cell amount" style="width: 15%;"> |
|
|
<t |
|
|
|
|
|
t-set="domain" |
|
|
|
|
|
t-value="[('tax_line_id', 'in', [tax.tax_id.id for tax in tag.tax_ids]), |
|
|
|
|
|
('date', '>=', o.date_from), |
|
|
|
|
|
('date', '<=', o.date_to), |
|
|
|
|
|
('tax_exigible', '=', True)]" |
|
|
|
|
|
/> |
|
|
|
|
|
<span t-att-domain="domain" res-model="account.move.line"> |
|
|
|
|
|
<t |
|
|
<t |
|
|
t-att-style="style" |
|
|
t-att-style="style" |
|
|
t-raw="tag_or_group['tax']" |
|
|
t-raw="tag_or_group['tax']" |
|
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" |
|
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" |
|
|
/> |
|
|
/> |
|
|
</span> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<t t-if="tax_detail"> |
|
|
<t t-if="tax_detail"> |
|
@ -109,7 +92,7 @@ |
|
|
style="padding-left: 20px; width: 65%;" |
|
|
style="padding-left: 20px; width: 65%;" |
|
|
> |
|
|
> |
|
|
<span |
|
|
<span |
|
|
t-att-res-id="tax.tax_id.id" |
|
|
|
|
|
|
|
|
t-att-res-id="tax['id']" |
|
|
t-att-res-model="res_model" |
|
|
t-att-res-model="res_model" |
|
|
view-type="form" |
|
|
view-type="form" |
|
|
> |
|
|
> |
|
@ -119,9 +102,9 @@ |
|
|
<div class="act_as_cell amount" style="width: 15%;"> |
|
|
<div class="act_as_cell amount" style="width: 15%;"> |
|
|
<t |
|
|
<t |
|
|
t-set="domain" |
|
|
t-set="domain" |
|
|
t-value="[('tax_ids', 'in', tax.tax_id.ids), |
|
|
|
|
|
('date', '>=', o.date_from), |
|
|
|
|
|
('date', '<=', o.date_to), |
|
|
|
|
|
|
|
|
t-value="[('tax_ids', 'in', tax['id']), |
|
|
|
|
|
('date', '>=', date_from), |
|
|
|
|
|
('date', '<=', date_to), |
|
|
('tax_exigible', '=', True)]" |
|
|
('tax_exigible', '=', True)]" |
|
|
/> |
|
|
/> |
|
|
<span |
|
|
<span |
|
@ -138,9 +121,9 @@ |
|
|
<div class="act_as_cell amount" style="width: 15%;"> |
|
|
<div class="act_as_cell amount" style="width: 15%;"> |
|
|
<t |
|
|
<t |
|
|
t-set="domain" |
|
|
t-set="domain" |
|
|
t-value="[('tax_line_id', '=', tax.tax_id.id), |
|
|
|
|
|
('date', '>=', o.date_from), |
|
|
|
|
|
('date', '<=', o.date_to), |
|
|
|
|
|
|
|
|
t-value="[('tax_line_id', '=', tax['id']), |
|
|
|
|
|
('date', '>=', date_from), |
|
|
|
|
|
('date', '<=', date_to), |
|
|
('tax_exigible', '=', True)]" |
|
|
('tax_exigible', '=', True)]" |
|
|
/> |
|
|
/> |
|
|
<span |
|
|
<span |
|
|