Agrupa las líneas de la tasa GENCI por albarán
Project description
Tasa Genci agrupada por albarán
This module acts as a bridge between l10n_es_genci_account and account_invoice_report_grouped_by_picking.
In the base GENCI module, contribution lines are generated at invoice level, without considering stock pickings. As a result, when using reports grouped by picking, GENCI lines are not properly distributed and may appear without a picking reference.
This module enhances that behavior by:
Assigning the corresponding genci_rule_id to generated GENCI invoice lines. Distributing GENCI lines across pickings based on the quantities delivered per picking. Ensuring compatibility with the grouped invoice report provided by account_invoice_report_grouped_by_picking.
The implementation is intentionally kept in a separate module to avoid adding a direct dependency in the core GENCI module and to keep responsibilities well separated.
Table of contents
Known issues / Roadmap
Known issues
It has been identified that when a delivery is returned and a customer invoice is generated (standard invoice, not a refund), the GENCI line associated with the returned product is displayed with a positive amount, whereas it should be negative.
This issue does not occur in credit notes (out_refund), where the behavior is correct.
The root cause is that the module account_invoice_report_grouped_by_picking applies a sign correction when grouping invoice lines by picking. This logic is implemented in the method lines_grouped_by_picking, where quantities are adjusted using an internal sign computation together with _get_signed_quantity_done().
Possible solution
A possible solution would be to introduce a small helper method in this module to replicate the sign logic used in the original implementation, and apply it when computing GENCI quantities (e.g. in _get_genci_qty_by_picking_rule).
Bug Tracker
Bugs are tracked on GitHub 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.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
-
Ángel Rivas
Valentín Vinagre
Harald Panten
Maintainers
This module is part of the sygel-technology/sy-l10n-spain project on GitHub.
You are welcome to contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_l10n_es_genci_account_grouped_by_picking-16.0.1.0.0.1-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_l10n_es_genci_account_grouped_by_picking-16.0.1.0.0.1-py3-none-any.whl
- Upload date:
- Size: 39.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58211236a2957a356c70454686834632fb899af0a380fea0a1ca53199ae9029d
|
|
| MD5 |
d0ed0eb317551003d1c6c73486a6b789
|
|
| BLAKE2b-256 |
6889a476d3d4895b8b158ed1dbe0178ce95ef9b26ccf1f4bb6c5feca0e47929c
|