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
108 changes: 108 additions & 0 deletions l10n_es_digital_canon_report/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
====================
Digital canon report
====================

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

.. |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/licence-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-OCA%2Fl10n--spain-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-spain/tree/18.0/l10n_es_digital_canon_report
:alt: OCA/l10n-spain
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-spain-18-0/l10n-spain-18-0-l10n_es_digital_canon_report
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-spain&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Generates the official presentation report for SGAE regarding the
digital canon as a tax.

**Table of contents**

.. contents::
:local:

Usage
=====

Before using the report, make sure that the taxes and products of
``l10n_es_digital_canon`` are configured and loaded.

Example workflow for generating a common report line:

1. Create a purchase order with a Spanish vendor.
2. Assign a product that has a digital canon category.
3. Confirm the purchase order.
4. Confirm the related incoming picking, assigning a lot to the product.
5. Create and post the vendor bill.
6. Go to Sales and create a sales order with the same product.
7. Confirm the sales order.
8. Confirm the related outgoing picking, assigning the same lot.
9. Create and post the customer invoice from the sales order.

After these steps, go to **Invoicing > Reports > SGAE**, click on the
**Digital Canon** menu, and set the desired dates (normally quarterly).
This will generate the XLSX report ready to be submitted, with all
fields completed according to the purchase and sales conditions.

Known issues / Roadmap
======================

- Reacondicionados: en el informe aún no se contemplan los productos
reacondicionados, pendiente de implementar la lógica de declaración.

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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_digital_canon_report%0Aversion:%2018.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
-------

* Tecnativa

Contributors
------------

- `Tecnativa <https://www.tecnativa.com>`__

- Juan Carlos Oñate

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/l10n-spain <https://github.com/OCA/l10n-spain/tree/18.0/l10n_es_digital_canon_report>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions l10n_es_digital_canon_report/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import report
from . import wizards
22 changes: 22 additions & 0 deletions l10n_es_digital_canon_report/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2025 Juan Carlos Oñate - Tecnativa
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Digital canon report",
"summary": "Generate XLSX reports for digital canon operations",
"version": "18.0.1.0.0",
"website": "https://github.com/OCA/l10n-spain",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"depends": [
"report_xlsx_helper",
"l10n_es_digital_canon",
"product_brand",
"stock",
"purchase",
],
"data": [
"security/ir.model.access.csv",
"wizards/digital_canon_report_wizard.xml",
],
"installable": True,
}
100 changes: 100 additions & 0 deletions l10n_es_digital_canon_report/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_es_digital_canon_report
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-03 15:05+0000\n"
"PO-Revision-Date: 2025-09-03 15:05+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: l10n_es_digital_canon_report
#: model_terms:ir.ui.view,arch_db:l10n_es_digital_canon_report.view_digital_canon_report_wizard
msgid "Cancelar"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard__create_uid
msgid "Created by"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard__create_date
msgid "Created on"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.actions.act_window,name:l10n_es_digital_canon_report.action_digital_canon_report
#: model:ir.ui.menu,name:l10n_es_digital_canon_report.menu_digital_canon_report
msgid "Digital Canon"
msgstr "Canon digital"

#. module: l10n_es_digital_canon_report
#: model:ir.model,name:l10n_es_digital_canon_report.model_report_l10n_es_digital_canon_report_digital_canon_report
msgid "Digital Canon Report"
msgstr "Informe del Canon Digital"

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard__display_name
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_report_l10n_es_digital_canon_report_digital_canon_report__display_name
msgid "Display Name"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model_terms:ir.ui.view,arch_db:l10n_es_digital_canon_report.view_digital_canon_report_wizard
msgid "Exportar Canon Digital SGAE"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model_terms:ir.ui.view,arch_db:l10n_es_digital_canon_report.view_digital_canon_report_wizard
msgid "Exportar Excel"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard__date_end
msgid "Fecha fin"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard__date_start
msgid "Fecha inicio"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard__id
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_report_l10n_es_digital_canon_report_digital_canon_report__id
msgid "ID"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard____last_update
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_report_l10n_es_digital_canon_report_digital_canon_report____last_update
msgid "Last Modified on"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard__write_uid
msgid "Last Updated by"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard__write_date
msgid "Last Updated on"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.ui.menu,name:l10n_es_digital_canon_report.menu_sgae_root
msgid "SGAE"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model,name:l10n_es_digital_canon_report.model_digital_canon_report_wizard
msgid "Wizard para exportar el Canon Digital SGAE"
msgstr ""
100 changes: 100 additions & 0 deletions l10n_es_digital_canon_report/i18n/l10n_es_digital_canon_report.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_es_digital_canon_report
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-03 15:04+0000\n"
"PO-Revision-Date: 2025-09-03 15:04+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: l10n_es_digital_canon_report
#: model_terms:ir.ui.view,arch_db:l10n_es_digital_canon_report.view_digital_canon_report_wizard
msgid "Cancelar"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard__create_uid
msgid "Created by"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard__create_date
msgid "Created on"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.actions.act_window,name:l10n_es_digital_canon_report.action_digital_canon_report
#: model:ir.ui.menu,name:l10n_es_digital_canon_report.menu_digital_canon_report
msgid "Digital Canon"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model,name:l10n_es_digital_canon_report.model_report_l10n_es_digital_canon_report_digital_canon_report
msgid "Digital Canon Report"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard__display_name
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_report_l10n_es_digital_canon_report_digital_canon_report__display_name
msgid "Display Name"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model_terms:ir.ui.view,arch_db:l10n_es_digital_canon_report.view_digital_canon_report_wizard
msgid "Exportar Canon Digital SGAE"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model_terms:ir.ui.view,arch_db:l10n_es_digital_canon_report.view_digital_canon_report_wizard
msgid "Exportar Excel"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard__date_end
msgid "Fecha fin"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard__date_start
msgid "Fecha inicio"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard__id
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_report_l10n_es_digital_canon_report_digital_canon_report__id
msgid "ID"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard____last_update
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_report_l10n_es_digital_canon_report_digital_canon_report____last_update
msgid "Last Modified on"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard__write_uid
msgid "Last Updated by"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model.fields,field_description:l10n_es_digital_canon_report.field_digital_canon_report_wizard__write_date
msgid "Last Updated on"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.ui.menu,name:l10n_es_digital_canon_report.menu_sgae_root
msgid "SGAE"
msgstr ""

#. module: l10n_es_digital_canon_report
#: model:ir.model,name:l10n_es_digital_canon_report.model_digital_canon_report_wizard
msgid "Wizard para exportar el Canon Digital SGAE"
msgstr ""
3 changes: 3 additions & 0 deletions l10n_es_digital_canon_report/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
2 changes: 2 additions & 0 deletions l10n_es_digital_canon_report/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- [Tecnativa](https://www.tecnativa.com)
- Juan Carlos Oñate
2 changes: 2 additions & 0 deletions l10n_es_digital_canon_report/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Generates the official presentation report for SGAE regarding the digital
canon as a tax.
2 changes: 2 additions & 0 deletions l10n_es_digital_canon_report/readme/ROADMAP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Reacondicionados: en el informe aún no se contemplan los productos
reacondicionados, pendiente de implementar la lógica de declaración.
19 changes: 19 additions & 0 deletions l10n_es_digital_canon_report/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Before using the report, make sure that the taxes and products of
`l10n_es_digital_canon` are configured and loaded.

Example workflow for generating a common report line:

1. Create a purchase order with a Spanish vendor.
2. Assign a product that has a digital canon category.
3. Confirm the purchase order.
4. Confirm the related incoming picking, assigning a lot to the product.
5. Create and post the vendor bill.
6. Go to Sales and create a sales order with the same product.
7. Confirm the sales order.
8. Confirm the related outgoing picking, assigning the same lot.
9. Create and post the customer invoice from the sales order.

After these steps, go to **Invoicing > Reports > SGAE**, click on the
**Digital Canon** menu, and set the desired dates (normally quarterly).
This will generate the XLSX report ready to be submitted, with all fields
completed according to the purchase and sales conditions.
1 change: 1 addition & 0 deletions l10n_es_digital_canon_report/report/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import digital_canon_report
Loading
Loading