Openbravo Issue Tracking System - Localization Pack: Spain |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0050064 | Localization Pack: Spain | SII | public | 2022-08-25 13:07 | 2024-01-31 21:35 |
|
Reporter | psanjuan | |
Assigned To | | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 30 | OS Version | Openbravo Appliance 14.04 |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | |
Support ticket | |
OBNetwork customer | |
Regression introduced in release | |
|
Summary | 0050064: When an Invoice have all the lines related to products configured as "No declarable", the invoice remains in Sending Error. |
Description | When a Sales or a Purchase Invoice have all the lines related to products configured as "No declarable", the invoice remains in Sending Error.
https://openbravo.atlassian.net/browse/RM-7042 [^] |
Steps To Reproduce | Go to Sales Invoice window and create a new sale for a national customer, including a product related to a tax rate/tax category configured as "No declarable SII".
Complete it.
If the "SII sending process" is scheduled and executed, that sales invoice will remain with an status "Sending Error", therefore it will be shown in the SII monitor forever.
Same applies to Purchase Invoices (Employee expenses) |
Proposed Solution | "Grouped Invoices SII Sending" process must change the "SII Registration Status" to a new status named "No declarable en SII" if an invoice (sales or purchase) includes only and all its lines of products related with a tax rate linked to tax category configured as "NO declarable SII".
Besides that, those Sales Invoices with an status "No Declarable SII" must not be shown in the SII Monitor ever.
Nombre del estado en español "No declarable en SII"
Nombre del estado en inglés "Not reportable to SII" |
Additional Information | |
Tags | NOR |
Relationships | depends on | defect | 0054037 | | closed | rdanielle | Error al enviar SII en modo test |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-08-25 13:07 | psanjuan | New Issue | |
2022-08-25 13:07 | psanjuan | Assigned To | => Jorge Bravo |
2022-08-25 13:14 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=24669#r24669 |
2022-08-25 13:14 | psanjuan | Proposed Solution updated | |
2022-08-25 14:35 | rafaroda | Tag Attached: NOR | |
2022-08-30 09:53 | Jorge Bravo | Assigned To | Jorge Bravo => mgonzalezh |
2022-08-31 09:25 | psanjuan | Proposed Solution updated | |
2022-08-31 09:25 | psanjuan | Note Added: 0140543 | |
2022-08-31 13:03 | psanjuan | Note Edited: 0140543 | bug_revision_view_page.php?bugnote_id=0140543#r24698 |
2022-08-31 13:05 | psanjuan | Note Edited: 0140543 | bug_revision_view_page.php?bugnote_id=0140543#r24699 |
2022-08-31 13:07 | psanjuan | Note Edited: 0140543 | bug_revision_view_page.php?bugnote_id=0140543#r24700 |
2022-08-31 13:55 | psanjuan | Summary | When a Sales Invoice have all the lines related to products configured as "No declarable", the invoice remains in Sending Error. => When an Invoice have all the lines related to products configured as "No declarable", the invoice remains in Sending Error. |
2022-08-31 13:55 | psanjuan | Description Updated | bug_revision_view_page.php?rev_id=24702#r24702 |
2022-08-31 13:55 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=24703#r24703 |
2022-08-31 13:55 | psanjuan | Proposed Solution updated | |
2022-08-31 13:56 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=24704#r24704 |
2023-09-04 10:52 | psanjuan | Type | defect => design defect |
2023-09-14 13:20 | Jorge Bravo | Proposed Solution updated | |
2023-09-29 15:12 | hgbot | Note Added: 0155391 | |
2023-10-02 18:01 | aferraz | Assigned To | mgonzalezh => |
2023-10-02 18:01 | aferraz | Description Updated | bug_revision_view_page.php?rev_id=26922#r26922 |
2023-10-03 14:26 | hgbot | Note Added: 0155425 | |
2023-10-03 18:58 | hgbot | Note Added: 0155430 | |
2023-11-27 18:55 | psanjuan | Relationship added | depends on 0054037 |
2024-01-17 18:47 | hgbot | Note Added: 0159428 | |
2024-01-31 21:33 | hgbot | Resolution | open => fixed |
2024-01-31 21:33 | hgbot | Status | new => closed |
2024-01-31 21:33 | hgbot | Note Added: 0160033 | |
2024-01-31 21:33 | hgbot | Note Added: 0160034 | |
2024-01-31 21:35 | hgbot | Note Added: 0160035 | |
2024-01-31 21:35 | hgbot | Note Added: 0160036 | |
Notes |
|
(0140543)
|
psanjuan
|
2022-08-31 09:25
(edited on: 2022-08-31 13:07) |
|
El envío al SII, se realiza desde el proceso "Grouped Invoices SII Sending", y también desde los botones de "Send to SII" de las ventanas "Sales Invoice" y "SII Monitor", ambos botones ejecutan el mismo proceso, el "SII Invoice Sender".
Tanto en el proceso "Grouped Invoices SII Sending", como el proceso "SII Invoice Sender", se deben agregar lo siguiente:
Actualizar el estado de estas facturas al nuevo estado al que se creará ("No Declarable SII"), una vez hayan sido procesadas.
Propongo, para no duplicar código, utilizar algún Utils (ej: org.openbravo.module.sii.utils.SIIUtils), para identificar y marcar estas facturas.
Al ser una clase con métodos públicos, todos ellos deben tener su javadoc.
Por último, modificar el SII Monitor para que nunca muestre las facturas con este nuevo estado.
|
|
|
(0155391)
|
hgbot
|
2023-09-29 15:12
|
|
|
|
(0155425)
|
hgbot
|
2023-10-03 14:26
|
|
|
|
(0155430)
|
hgbot
|
2023-10-03 18:58
|
|
|
|
(0159428)
|
hgbot
|
2024-01-17 18:47
|
|
|
|
(0160033)
|
hgbot
|
2024-01-31 21:33
|
|
|
|
(0160034)
|
hgbot
|
2024-01-31 21:33
|
|
|
|
(0160035)
|
hgbot
|
2024-01-31 21:35
|
|
|
|
(0160036)
|
hgbot
|
2024-01-31 21:35
|
|
|