Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050064
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Localization Pack: Spain] SIImajoralways2022-08-25 13:072024-01-31 21:35
ReporterpsanjuanView Statuspublic 
Assigned To 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version7.x
OS VersionOpenbravo Appliance 14.04Database version9.3.xAnt version1.9.x
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
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.

DescriptionWhen 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 ReproduceGo 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"
TagsNOR
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 0054037 closedrdanielle Error al enviar SII en modo test 

-  Notes
(0140543)
psanjuan (manager)
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 (developer)
2023-09-29 15:12

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii.es_ES/-/merge_requests/6 [^]
(0155425)
hgbot (developer)
2023-10-03 14:26

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii.template/-/merge_requests/4 [^]
(0155430)
hgbot (developer)
2023-10-03 18:58

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/merge_requests/48 [^]
(0159428)
hgbot (developer)
2024-01-17 18:47

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii.template/-/merge_requests/4 [^]
(0160033)
hgbot (developer)
2024-01-31 21:33

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii [^]
Changeset: f8d0925cfb07c6ac3d7618c11f577fa4fcc2711d
Author: Ruben Danielle <ruben.danielle@smfconsulting.es>
Date: 31-01-2024 20:33:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/commit/f8d0925cfb07c6ac3d7618c11f577fa4fcc2711d [^]

Fixes ISSUE-50064: When an Invoice have all the lines related to products configured as "No declarable", the invoice remains in Sending Error.

---
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/AD_TAB.xml
M src/org/openbravo/module/sii/process/MultiEnvioFactura.java
M src/org/openbravo/module/sii/process/background/SendInvoicesGroupsToAEAT.java
M src/org/openbravo/module/sii/utils/SIIUtils.java
---
(0160034)
hgbot (developer)
2024-01-31 21:33

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/merge_requests/48 [^]
(0160035)
hgbot (developer)
2024-01-31 21:35

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii.es_ES/-/merge_requests/6 [^]
(0160036)
hgbot (developer)
2024-01-31 21:35

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii.es_ES [^]
Changeset: e53c657df5ed167a8c744f3d07cfc26562d9a04d
Author: Ruben Danielle <ruben.danielle@smfconsulting.es>
Date: 31-01-2024 20:35:04
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii.es_ES/-/commit/e53c657df5ed167a8c744f3d07cfc26562d9a04d [^]

Fixes ISSUE-50064: When an Invoice have all the lines related to products configured as "No declarable", the invoice remains in Sending Error.

---
M referencedata/translation/es_ES/AD_REF_LIST_TRL_es_ES.xml
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
---

- 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 View Revisions
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 View Revisions
2022-08-31 13:05 psanjuan Note Edited: 0140543 View Revisions
2022-08-31 13:07 psanjuan Note Edited: 0140543 View Revisions
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 View Revisions
2022-08-31 13:55 psanjuan Steps to Reproduce Updated View Revisions
2022-08-31 13:55 psanjuan Proposed Solution updated
2022-08-31 13:56 psanjuan Steps to Reproduce Updated View Revisions
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 View Revisions
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker