Skip to content

Commit

Permalink
migración de l10n_es_vat_book a 11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiBForgeFlow authored and pedrobaeza committed Jun 27, 2024
1 parent a6b01ed commit a5efb6e
Show file tree
Hide file tree
Showing 14 changed files with 154 additions and 170 deletions.
10 changes: 5 additions & 5 deletions l10n_es_vat_book/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Consideraciones adicionales:
evitar que los usuarios olviden informarlo es recomendable instalar el
módulo 'account_invoice_tax_required', disponible en
`account_invoice_tax_required <https://github.com/OCA/account-financial-
tools/tree/10.0>`_.
tools/tree/11.0>`_.


Configuración
Expand All @@ -56,10 +56,10 @@ Funcionalidades del Libro Registro de IVA no incluídas por el momento:
Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-spain/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
`here <https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_pos%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Bugs are tracked on `GitHub Issues
<https://github.com/OCA/l10n-spain/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing detailed and welcomed feedback.


Créditos
Expand Down
3 changes: 0 additions & 3 deletions l10n_es_vat_book/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
# -*- coding: utf-8 -*-
# See README.rst file on addon root folder for license details

from . import models
from . import report
3 changes: 1 addition & 2 deletions l10n_es_vat_book/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# -*- coding: utf-8 -*-
# See README.rst file on addon root folder for license details

{
"name": "Libro de IVA",
"version": "10.0.1.0.2",
"version": "11.0.1.0.0",
"author": "PRAXYA, "
"Eficent, "
"Odoo Community Association (OCA)",
Expand Down
3 changes: 0 additions & 3 deletions l10n_es_vat_book/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# -*- coding: utf-8 -*-
# See README.rst file on addon root folder for license details

from . import l10n_es_vat_book
from . import l10n_es_vat_book_line
from . import l10n_es_vat_book_line_tax
Expand Down
1 change: 0 additions & 1 deletion l10n_es_vat_book/models/l10n_es_vat_book.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Praxya (http://praxya.com/)
# Daniel Rodriguez Lijo <[email protected]>
# Copyright 2017 Eficent Business and IT Consulting Services, S.L.
Expand Down
1 change: 0 additions & 1 deletion l10n_es_vat_book/models/l10n_es_vat_book_line.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Praxya (http://praxya.com/)
# Daniel Rodriguez Lijo <[email protected]>
# Copyright 2017 Eficent Business and IT Consulting Services, S.L.
Expand Down
1 change: 0 additions & 1 deletion l10n_es_vat_book/models/l10n_es_vat_book_line_tax.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Praxya (http://praxya.com/)
# Daniel Rodriguez Lijo <[email protected]>
# Copyright 2017 Eficent Business and IT Consulting Services, S.L.
Expand Down
1 change: 0 additions & 1 deletion l10n_es_vat_book/models/l10n_es_vat_book_summary.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Praxya (http://praxya.com/)
# Daniel Rodriguez Lijo <[email protected]>
# Copyright 2017 Eficent Business and IT Consulting Services, S.L.
Expand Down
1 change: 0 additions & 1 deletion l10n_es_vat_book/models/l10n_es_vat_book_tax_summary.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Praxya (http://praxya.com/)
# Daniel Rodriguez Lijo <[email protected]>
# Copyright 2017 Eficent Business and IT Consulting Services, S.L.
Expand Down
2 changes: 0 additions & 2 deletions l10n_es_vat_book/report/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
# -*- coding: utf-8 -*-
# See README.rst file on addon root folder for license details
150 changes: 75 additions & 75 deletions l10n_es_vat_book/report/vat_book_invoices_issued.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,95 +2,95 @@
<odoo>

<template id="report_vat_book_invoices_issued_document">
<t t-call="web.layout">
<div class="page">
<style type="text/css">
.detail_table {
width:100%;
margin-top: 2%;
}
.a {

<div class="page">
<style type="text/css">
.detail_table {
width:100%;
margin-top: 2%;
}
.a {
}
.td_detail_table{
width: 50%;
padding-right: 5%;
}
</style>
<div class="row">

}
.td_detail_table{
width: 50%;
padding-right: 5%;
}
</style>
<div class="row">
<div class="col-xs-12 text-center" id="title">
<h3>BOOK REGISTER OF INVOICES ISSUED</h3>
</div>

<div class="col-xs-12 text-center" id="title">
<h3>BOOK REGISTER OF INVOICES ISSUED</h3>
</div>
<t t-call="l10n_es_vat_book.vat_book_dates"/>
<t t-call="l10n_es_vat_book.vat_book_contact"/>

<t t-call="l10n_es_vat_book.vat_book_dates"/>
<t t-call="l10n_es_vat_book.vat_book_contact"/>

<div class="col-xs-12" id="title_invoices_issued">
<h4>Invoices Issued</h4>
</div>
<div class="col-xs-12" id="invoices_issued_detail_div">
<table class="table table-condensed"
id="invoices_issued_detail_table">
<t t-call="l10n_es_vat_book.vat_book_invoices_head"/>
<tbody>
<tr t-foreach="o.issued_line_ids" t-as="l">
<t t-call="l10n_es_vat_book.vat_book_line"/>
</tr>
</tbody>
</table>
</div>
<div class="col-xs-12"
id="title_rectification_invoices_issued">
<h4>Rectification Invoices Issued</h4>
</div>
<div class="col-xs-12"
id="rectification_invoices_issued_detail_div">
<table class="table table-condensed"
id="rectification_invoices_issued_detail_table">
<t t-call="l10n_es_vat_book.vat_book_invoices_head"/>
<tbody>
<tr t-foreach="o.rectification_issued_line_ids" t-as="l">
<t t-call="l10n_es_vat_book.vat_book_line"/>
</tr>
</tbody>
</table>
</div>
<div class="col-xs-12" id="title_summary_invoices">
<h4>Summary</h4>
</div>
<div class="col-xs-12" id="div_summary_invoices">
<table class="table table-condensed" id="table_sumary_invoices">
<t t-call="l10n_es_vat_book.vat_book_taxes_head"/>
<tbody>
<tr t-foreach="o.issued_tax_summary_ids"
t-as="s">
<t t-call="l10n_es_vat_book.vat_book_tax_summary"/>
</tr>
<tr t-foreach="o.issued_summary_ids" t-as="s">
<t t-call="l10n_es_vat_book.vat_book_summary"/>
</tr>
</tbody>
</table>
</div>
</div>
</div>

</t>
<div class="col-xs-12" id="title_invoices_issued">
<h4>Invoices Issued</h4>
</div>
<div class="col-xs-12" id="invoices_issued_detail_div">
<table class="table table-condensed"
id="invoices_issued_detail_table">
<t t-call="l10n_es_vat_book.vat_book_invoices_head"/>
<tbody>
<tr t-foreach="o.issued_line_ids" t-as="l">
<t t-call="l10n_es_vat_book.vat_book_line"/>
</tr>
</tbody>
</table>
</div>
<div class="col-xs-12"
id="title_rectification_invoices_issued">
<h4>Rectification Invoices Issued</h4>
</div>
<div class="col-xs-12"
id="rectification_invoices_issued_detail_div">
<table class="table table-condensed"
id="rectification_invoices_issued_detail_table">
<t t-call="l10n_es_vat_book.vat_book_invoices_head"/>
<tbody>
<tr t-foreach="o.rectification_issued_line_ids" t-as="l">
<t t-call="l10n_es_vat_book.vat_book_line"/>
</tr>
</tbody>
</table>
</div>
<div class="col-xs-12" id="title_summary_invoices">
<h4>Summary</h4>
</div>
<div class="col-xs-12" id="div_summary_invoices">
<table class="table table-condensed" id="table_sumary_invoices">
<t t-call="l10n_es_vat_book.vat_book_taxes_head"/>
<tbody>
<tr t-foreach="o.issued_tax_summary_ids"
t-as="s">
<t t-call="l10n_es_vat_book.vat_book_tax_summary"/>
</tr>
<tr t-foreach="o.issued_summary_ids" t-as="s">
<t t-call="l10n_es_vat_book.vat_book_summary"/>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</template>

<template id="report_vat_book_invoices_issued_pdf">
<t t-call="report.html_container">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="o">
<t t-call="l10n_es_vat_book.report_vat_book_invoices_issued_document"/>
<t t-call="web.internal_layout">
<t t-call="l10n_es_vat_book.report_vat_book_invoices_issued_document"/>
</t>
</t>
</t>
</template>

<template id="report_vat_book_invoices_issued_html">
<div class="container o_aeat_reports_page">
<t t-call="l10n_es_vat_book.report_vat_book_invoices_issued_document"/>
<t t-call="web.layout">
<t t-call="l10n_es_vat_book.report_vat_book_invoices_issued_document"/>
</t>
</div>
</template>

Expand Down
Loading

0 comments on commit a5efb6e

Please sign in to comment.