Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions l10n_es_aeat_mod349_special_prorate/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

===================================
Special prorate tax mapping for 349
===================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c1e38e9fd67583592c1af58c7a7088480948f0772e7ed86bb4e113244609dc63
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-NuoBiT%2Fodoo--addons-lightgray.png?logo=github
:target: https://github.com/NuoBiT/odoo-addons/tree/14.0/l10n_es_aeat_mod349_special_prorate
:alt: NuoBiT/odoo-addons

|badge1| |badge2| |badge3|

This module wires the special prorate purchase taxes
(``l10n_es_special_prorate``) into the AEAT 349 model tax map, so the
intra-community acquisitions of goods and services carried by those taxes are
reported under keys A and I.

It is the 349 counterpart of ``l10n_es_aeat_mod303_special_prorate`` and
``l10n_es_aeat_sii_oca_special_prorate``, and installs automatically when both
``l10n_es_special_prorate`` and ``l10n_es_aeat_mod349`` are installed.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

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

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* NuoBiT Solutions
* S.L.

Contributors
~~~~~~~~~~~~

* `NuoBiT <https://www.nuobit.com>`_:

* Eric Antones <eantones@nuobit.com>

Maintainers
~~~~~~~~~~~

This module is part of the `NuoBiT/odoo-addons <https://github.com/NuoBiT/odoo-addons/tree/14.0/l10n_es_aeat_mod349_special_prorate>`_ project on GitHub.

You are welcome to contribute.
Empty file.
22 changes: 22 additions & 0 deletions l10n_es_aeat_mod349_special_prorate/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright NuoBiT Solutions, S.L. (<https://www.nuobit.com>)
# Eric Antones <eantones@nuobit.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

{
"name": "Special prorate tax mapping for 349",
"summary": "This module adds special prorate template taxes to the 349 model mapping",
"version": "14.0.1.0.0",
"category": "Accounting",
"author": "NuoBiT Solutions, S.L.",
"website": "https://github.com/nuobit/odoo-addons",
"license": "AGPL-3",
"depends": [
"l10n_es_special_prorate",
"l10n_es_aeat_mod349",
],
"data": [
"data/aeat_349_map_data.xml",
],
"installable": True,
"auto_install": True,
}
28 changes: 28 additions & 0 deletions l10n_es_aeat_mod349_special_prorate/data/aeat_349_map_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright NuoBiT Solutions, S.L. (<https://www.nuobit.com>)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) -->
<odoo>
<record id="l10n_es_aeat_mod349.aeat_349_map_line_A" model="aeat.349.map.line">
<field
name="tax_tmpl_ids"
eval="[
(4, ref('l10n_es_special_prorate.account_tax_template_p_priva4_ic_bc')),
(4, ref('l10n_es_special_prorate.account_tax_template_p_priva10_ic_bc')),
(4, ref('l10n_es_special_prorate.account_tax_template_p_priva21_ic_bc')),
(4, ref('l10n_es_special_prorate.account_tax_template_p_priva4_ic_bi')),
(4, ref('l10n_es_special_prorate.account_tax_template_p_priva10_ic_bi')),
(4, ref('l10n_es_special_prorate.account_tax_template_p_priva21_ic_bi')),
]"
/>
</record>
<record id="l10n_es_aeat_mod349.aeat_349_map_line_I" model="aeat.349.map.line">
<field
name="tax_tmpl_ids"
eval="[
(4, ref('l10n_es_special_prorate.account_tax_template_p_priva4_sp_in')),
(4, ref('l10n_es_special_prorate.account_tax_template_p_priva10_sp_in')),
(4, ref('l10n_es_special_prorate.account_tax_template_p_priva21_sp_in')),
]"
/>
</record>
</odoo>
3 changes: 3 additions & 0 deletions l10n_es_aeat_mod349_special_prorate/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* `NuoBiT <https://www.nuobit.com>`_:

* Eric Antones <eantones@nuobit.com>
8 changes: 8 additions & 0 deletions l10n_es_aeat_mod349_special_prorate/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
This module wires the special prorate purchase taxes
(``l10n_es_special_prorate``) into the AEAT 349 model tax map, so the
intra-community acquisitions of goods and services carried by those taxes are
reported under keys A and I.

It is the 349 counterpart of ``l10n_es_aeat_mod303_special_prorate`` and
``l10n_es_aeat_sii_oca_special_prorate``, and installs automatically when both
``l10n_es_special_prorate`` and ``l10n_es_aeat_mod349`` are installed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading