Update links in report, add account group file, update trial balance with hierarchy.
Update indentation, remove empty lines from header.
Update test.
Update pylint.
Remove company_id on computing accounts, since account.group is not a company based model, filtering accounts is done on trial balance report.
Update account variables.
Improve condition in padding on accounts.
Add option to print hierarchy based on defined accounts/computed accounts.
Add VAT report, hierarchy from tax tags ans taxes.
Fix pylint, xlsx report generation header.
Update code to select code_prefix or name.
Update code to select code_prefix or name.
Update code to select code_prefix or name.
Fix domain in base amounts in vat report.
Change trial balance code_prefix or name.
Update trail balance, add tests for vat report.
Update pylint, amounts as monetary, many2one option on generation excels.
Update pulint.
Add VAT Report in readme.
Add VAT Report in readme.
Update array_agg.
Update array_agg.
Update array_agg.
Add option in VAT Report to be printed on Tax Tags - Tax Groups.
Add widget to hierarchy_on on trial balance.
7 years ago Update links in report, add account group file, update trial balance with hierarchy.
Update indentation, remove empty lines from header.
Update test.
Update pylint.
Remove company_id on computing accounts, since account.group is not a company based model, filtering accounts is done on trial balance report.
Update account variables.
Improve condition in padding on accounts.
Add option to print hierarchy based on defined accounts/computed accounts.
Add VAT report, hierarchy from tax tags ans taxes.
Fix pylint, xlsx report generation header.
Update code to select code_prefix or name.
Update code to select code_prefix or name.
Update code to select code_prefix or name.
Fix domain in base amounts in vat report.
Change trial balance code_prefix or name.
Update trail balance, add tests for vat report.
Update pylint, amounts as monetary, many2one option on generation excels.
Update pulint.
Add VAT Report in readme.
Add VAT Report in readme.
Update array_agg.
Update array_agg.
Update array_agg.
Add option in VAT Report to be printed on Tax Tags - Tax Groups.
Add widget to hierarchy_on on trial balance.
7 years ago Update links in report, add account group file, update trial balance with hierarchy.
Update indentation, remove empty lines from header.
Update test.
Update pylint.
Remove company_id on computing accounts, since account.group is not a company based model, filtering accounts is done on trial balance report.
Update account variables.
Improve condition in padding on accounts.
Add option to print hierarchy based on defined accounts/computed accounts.
Add VAT report, hierarchy from tax tags ans taxes.
Fix pylint, xlsx report generation header.
Update code to select code_prefix or name.
Update code to select code_prefix or name.
Update code to select code_prefix or name.
Fix domain in base amounts in vat report.
Change trial balance code_prefix or name.
Update trail balance, add tests for vat report.
Update pylint, amounts as monetary, many2one option on generation excels.
Update pulint.
Add VAT Report in readme.
Add VAT Report in readme.
Update array_agg.
Update array_agg.
Update array_agg.
Add option in VAT Report to be printed on Tax Tags - Tax Groups.
Add widget to hierarchy_on on trial balance.
7 years ago Update links in report, add account group file, update trial balance with hierarchy.
Update indentation, remove empty lines from header.
Update test.
Update pylint.
Remove company_id on computing accounts, since account.group is not a company based model, filtering accounts is done on trial balance report.
Update account variables.
Improve condition in padding on accounts.
Add option to print hierarchy based on defined accounts/computed accounts.
Add VAT report, hierarchy from tax tags ans taxes.
Fix pylint, xlsx report generation header.
Update code to select code_prefix or name.
Update code to select code_prefix or name.
Update code to select code_prefix or name.
Fix domain in base amounts in vat report.
Change trial balance code_prefix or name.
Update trail balance, add tests for vat report.
Update pylint, amounts as monetary, many2one option on generation excels.
Update pulint.
Add VAT Report in readme.
Add VAT Report in readme.
Update array_agg.
Update array_agg.
Update array_agg.
Add option in VAT Report to be printed on Tax Tags - Tax Groups.
Add widget to hierarchy_on on trial balance.
7 years ago |
|
<?xml version="1.0" encoding="utf-8"?> <odoo>
<template id="account_financial_report.report_vat_report_qweb"> <t t-call="web.html_container"> <t t-foreach="docs" t-as="o"> <t t-call="account_financial_report.internal_layout"> <t t-call="account_financial_report.report_vat_report_base"/> </t> </t> </t> </template>
<template id="account_financial_report.report_vat_report_base"> <t t-set="title">VAT Report - <t t-raw="o.company_id.name"/> - <t t-raw="o.company_id.currency_id.name"/></t> <t t-set="company_name" t-value="o.company_id.name"/> <div class="page"> <div class="row"> <h4 class="mt0" t-esc="title or 'Odoo Report'" style="text-align: center;"/> </div> <!-- Display filters --> <t t-call="account_financial_report.report_vat_report_filters"/> <div class="page_break"/> <div class="act_as_table data_table" style="width: 100%;"> <!-- Display table headers for lines --> <div class="act_as_thead"> <div class="act_as_row labels"> <!--## code--> <div class="act_as_cell first_column" style="width: 5%;">Code</div> <!--## name--> <div class="act_as_cell" style="width: 65%;">Name</div> <!--## net--> <div class="act_as_cell" style="width: 15%;">Net</div> <!--## tax--> <div class="act_as_cell" style="width: 15%;">Tax</div> </div> </div>
<t t-foreach="o.taxtags_ids" t-as="tag"> <div class="act_as_row lines" style="font-weight: bold;"> <t t-if="tag.taxtag_id"> <t t-set="res_model" t-value="'account.account.tag'"/> <t t-set="res_id" t-value="tag.taxtag_id.id"/> </t> <t t-if="tag.taxgroup_id"> <t t-set="res_model" t-value="'account.tax.group'"/> <t t-set="res_id" t-value="tag.taxgroup_id.id"/> </t> <div class="act_as_cell left oe_tooltip_string" style="width: 5%;"> <span> <a t-att-data-active-id="res_id" t-att-data-res-model="res_model" class="o_account_financial_reports_web_action" t-att-style="style"> <t t-att-style="style" t-raw="tag.code"/></a> </span> </div> <div class="act_as_cell left oe_tooltip_string" style="width: 65%;"> <span> <a t-att-data-active-id="res_id" t-att-data-res-model="res_model" class="o_account_financial_reports_web_action" t-att-style="style"><t t-att-style="style" t-raw="tag.name"/></a> </span> </div> <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> <a t-att-data-domain="domain" t-att-data-res-model="'account.move.line'" class="o_account_financial_reports_web_action_multi" t-att-style="style"> <t t-att-style="style" t-raw="tag.net" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a> </span> </div> <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> <a t-att-data-domain="domain" t-att-data-res-model="'account.move.line'" class="o_account_financial_reports_web_action_multi" t-att-style="style"> <t t-att-style="style" t-raw="tag.tax" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a> </span> </div> </div> <t t-if="o.tax_detail"> <t t-foreach="tag.tax_ids" t-as="tax"> <t t-set="res_model" t-value="'account.tax'"/> <div class="act_as_row lines"> <div class="act_as_cell" style="width: 5%;"/> <div class="act_as_cell left oe_tooltip_string" style="padding-left: 20px; width: 65%;"> <span> <a t-att-data-active-id="tax.tax_id.id" t-att-data-res-model="res_model" class="o_account_financial_reports_web_action" t-att-style="style"><t t-att-style="style" t-raw="tax.name"/></a> </span> </div> <div class="act_as_cell amount" style="width: 15%;"> <t t-set="domain" t-value="[('tax_ids', 'in', tax.tax_id.ids), ('date', '>=', o.date_from), ('date', '<=', o.date_to), ('tax_exigible', '=', True)]"/> <span> <a t-att-data-domain="domain" t-att-data-res-model="'account.move.line'" class="o_account_financial_reports_web_action_multi" t-att-style="style"> <t t-att-style="style" t-raw="tax.net" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a> </span> </div> <div class="act_as_cell amount" style="width: 15%;"> <t t-set="domain" t-value="[('tax_line_id', '=', tax.tax_id.id), ('date', '>=', o.date_from), ('date', '<=', o.date_to), ('tax_exigible', '=', True)]"/> <span> <a t-att-data-domain="domain" t-att-data-res-model="'account.move.line'" class="o_account_financial_reports_web_action_multi" t-att-style="style"> <t t-att-style="style" t-raw="tax.tax" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a> </span> </div> </div> </t> </t> </t> </div> </div> </template>
<template id="account_financial_report.report_vat_report_filters"> <div class="act_as_table data_table" style="width: 100%;"> <div class="act_as_row labels"> <div class="act_as_cell">Date From</div> <div class="act_as_cell">Date To</div> <div class="act_as_cell">Based On</div> </div> <div class="act_as_row"> <div class="act_as_cell"> <span t-field="o.date_from"/> </div> <div class="act_as_cell"> <span t-field="o.date_to"/> </div> <div class="act_as_cell"> <span t-field="o.based_on"/> </div> </div> </div> </template> </odoo>
|