Openbravo Issue Tracking System - Localization Pack: Spain | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0047736 | Localization Pack: Spain | SII | public | 2021-09-22 15:24 | 2021-12-13 14:33 | ||||||||||||||
Reporter | ucarrion | ||||||||||||||||||
Assigned To | psanjuan | ||||||||||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | ||||||||||||||
Status | closed | Resolution | no change required | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
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 | 0047736: The SII requires to send the customer data including the region of the address when it should not | ||||||||||||||||||
Description | The SII requires to send the customer data including the region of the address when it should not. You create in POS a simplified invoice with anonymous customer or an informed customer which has NO region in the address. When you send the simplified invoice to SII, it fails obliging to the region, when it should not | ||||||||||||||||||
Steps To Reproduce | -Login an spanish POS terminal -Select a customer whose address is not informing the 'Region' field -Add a product -Pay and complete the transaction -Go to backoffice -Send the invoice just generated to SII -Check that the SII process fails due to the region null value | ||||||||||||||||||
Proposed Solution | This new feature needs to be implemented only for sales invoices of type "Factura Simplificada" = Clave Tipo Factura, issued from Web POS. In the 'SII sending' process in the backoffice, check the customer's region, if it is empty, send the organization region instead. See image RegionOfTheStoreForSIISending (Organization window, tab "Information", "Location/Address" selector, Region" field). Besides that, SII module needs also to implement a new check in the tab "Information" named "SII Location", so end-user can select one in case there are more than one locations for an Organization. SII process will stop and give a warning to the user in those cases where: * BP does not have a region * Organization has more than one region, and none of them is set as SII Location Warning message will "No region is found either for the customer or the organization. Please configure it either in the Business Partner window or in the Organization window, Information tab." Another option would be to take the Region from the Anonymous BP configured for the Organization, but once more this BP could have more than one location/address and therfore Region. There is no way to implement above proposed solutions in a generic way. We can not be 100% sure that the region taken either from the Organization/Store or from the anonymous customer configured for the store, is the correct one. Our SII API requires a Region that needs to be provided in any case. | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | NOR | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | DR_v1.1.xls (156,160) 2021-09-23 10:27 https://issues.openbravo.com/file_download.php?file_id=16218&type=bug ConsultaSII-FS.png (193,595) 2021-09-23 10:28 https://issues.openbravo.com/file_download.php?file_id=16219&type=bug SPRI1000123_Envio1635863354334_FacturaSimplificada.xml (1,607) 2021-11-02 15:31 https://issues.openbravo.com/file_download.php?file_id=16320&type=bug SPRI1000124_Envio1635863466492_FacturaCompleta.xml (1,714) 2021-11-02 15:31 https://issues.openbravo.com/file_download.php?file_id=16321&type=bug image.png (95,467) 2021-11-15 15:46 https://issues.openbravo.com/file_download.php?file_id=16346&type=bug RegionOfTheStoreForSIISending.JPG (123,574) 2021-11-25 12:21 https://issues.openbravo.com/file_download.php?file_id=16399&type=bug | ||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2021-09-22 15:24 | ucarrion | New Issue | |||||||||||||||||
2021-09-22 15:24 | ucarrion | Assigned To | => Jorge Bravo | ||||||||||||||||
2021-09-22 15:25 | ucarrion | Issue Monitored: rafaroda | |||||||||||||||||
2021-09-22 15:25 | ucarrion | Issue Monitored: avicente | |||||||||||||||||
2021-09-22 15:25 | ucarrion | Issue Monitored: psanjuan | |||||||||||||||||
2021-09-22 15:26 | ucarrion | Tag Attached: NOR | |||||||||||||||||
2021-09-23 10:25 | psanjuan | Proposed Solution updated | |||||||||||||||||
2021-09-23 10:26 | psanjuan | Proposed Solution updated | |||||||||||||||||
2021-09-23 10:27 | psanjuan | File Added: DR_v1.1.xls | |||||||||||||||||
2021-09-23 10:28 | psanjuan | File Added: ConsultaSII-FS.png | |||||||||||||||||
2021-09-23 10:46 | Jorge Bravo | Assigned To | Jorge Bravo => juabaez | ||||||||||||||||
2021-11-02 15:31 | psanjuan | File Added: SPRI1000123_Envio1635863354334_FacturaSimplificada.xml | |||||||||||||||||
2021-11-02 15:31 | psanjuan | File Added: SPRI1000124_Envio1635863466492_FacturaCompleta.xml | |||||||||||||||||
2021-11-15 15:46 | psanjuan | File Added: image.png | |||||||||||||||||
2021-11-15 15:46 | psanjuan | Proposed Solution updated | |||||||||||||||||
2021-11-19 09:39 | psanjuan | Note Added: 0133211 | |||||||||||||||||
2021-11-19 09:40 | psanjuan | Note Edited: 0133211 | bug_revision_view_page.php?bugnote_id=0133211#r23342 | ||||||||||||||||
2021-11-19 09:41 | Jorge Bravo | Assigned To | juabaez => psanjuan | ||||||||||||||||
2021-11-19 09:41 | psanjuan | Status | new => closed | ||||||||||||||||
2021-11-19 09:41 | psanjuan | Resolution | open => no change required | ||||||||||||||||
2021-11-25 12:18 | avicente | Status | closed => new | ||||||||||||||||
2021-11-25 12:18 | avicente | Resolution | no change required => open | ||||||||||||||||
2021-11-25 12:18 | avicente | Proposed Solution updated | |||||||||||||||||
2021-11-25 12:20 | avicente | Proposed Solution updated | |||||||||||||||||
2021-11-25 12:21 | avicente | File Added: RegionOfTheStoreForSIISending.JPG | |||||||||||||||||
2021-11-25 12:21 | avicente | Proposed Solution updated | |||||||||||||||||
2021-11-25 12:32 | psanjuan | Proposed Solution updated | |||||||||||||||||
2021-11-25 12:33 | psanjuan | Proposed Solution updated | |||||||||||||||||
2021-11-25 12:35 | psanjuan | Proposed Solution updated | |||||||||||||||||
2021-12-07 13:40 | psanjuan | Note Added: 0133514 | |||||||||||||||||
2021-12-07 13:45 | psanjuan | Proposed Solution updated | |||||||||||||||||
2021-12-07 13:50 | psanjuan | Proposed Solution updated | |||||||||||||||||
2021-12-10 13:03 | psanjuan | Proposed Solution updated | |||||||||||||||||
2021-12-10 14:13 | psanjuan | Note Added: 0133612 | |||||||||||||||||
2021-12-10 14:21 | psanjuan | Note Edited: 0133612 | bug_revision_view_page.php?bugnote_id=0133612#r23389 | ||||||||||||||||
2021-12-10 14:22 | psanjuan | Status | new => closed | ||||||||||||||||
2021-12-10 14:22 | psanjuan | Resolution | open => no change required | ||||||||||||||||
2021-12-13 14:32 | rafaroda | Relationship added | related to 0048237 | ||||||||||||||||
2021-12-13 14:33 | rafaroda | Relationship added | related to 0048238 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|