Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0050516 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo Localizations] Localization Italy | major | always | 2022-10-13 14:29 | 2022-10-24 09:49 | |||
Reporter | remibrunet | View Status | public | |||||
Assigned To | jetxarri | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Regression introduced in release | ||||||||
Summary | 0050516: [TI-ITALY] - Return Invoice e-invoice xml contains wrong values | |||||||
Description | When doing an e-invoice of a return invoice, the xml contains wrong values. The field Quantity is negative while it should be greater or equal to 0. The field TipoDocumento has the value TD01, while it should be TD04. Attached to this the xml generated. | |||||||
Steps To Reproduce | Go on a POS Do a return with an invoice. Go to the BackOffice Generate the XML. On the return invoice, open the XML. if you try to validate this xml on the fiscal test site, the xml isn't correct. | |||||||
Proposed Solution | Set the Quantita field value positive. Set the TipoDocumento value to TD04 in case of return. | |||||||
Tags | NOR, NORAUTO | |||||||
Attached Files | IT06026940012_0lftm.xml [^] (3,037 bytes) 2022-10-13 14:29 IT06026940012_0lfuu.xml [^] (2,951 bytes) 2022-10-20 15:22 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0142051) hgbot (developer) 2022-10-14 08:09 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/19 [^] |
(0142052) hgbot (developer) 2022-10-14 08:11 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/94 [^] |
(0142241) hgbot (developer) 2022-10-18 16:13 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^] Changeset: 5a48070794ee07c224da618c5d6be57ee5c68b7b Author: Javier <javieretxarri@ekinbe.com> Date: 18-10-2022 14:13:25 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/5a48070794ee07c224da618c5d6be57ee5c68b7b [^] Fixes ISSUE-50516: Adding is return property to the order and invoice using the document type --- M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml --- |
(0142242) hgbot (developer) 2022-10-18 16:13 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/94 [^] |
(0142249) hgbot (developer) 2022-10-18 18:05 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^] Changeset: d91e8960d7f6149f29278aead12875a1736d7939 Author: Javier Etxarri <javier.etxarri@openbravo.com> Date: 18-10-2022 18:04:40 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/d91e8960d7f6149f29278aead12875a1736d7939 [^] Fixes ISSUE-50516: [TI-ITALY] - Return Invoice e-invoice xml contains wrong values. Negative Quantity and wrong document type --- M src-test/org/openbravo/localization/italy/einvoice/TestItalyXMLCreationFromJson.java M src/org/openbravo/localization/italy/einvoice/xmlengine/document/ItalyDatiGeneral.java M src/org/openbravo/localization/italy/einvoice/xmlengine/document/ItalyDatiGeneraliDocumento.java M src/org/openbravo/localization/italy/einvoice/xmlengine/document/ItalyDettaglioLinee.java M src/org/openbravo/localization/italy/einvoice/xmlengine/document/ItalyFattureElettronicaBody.java --- |
(0142250) hgbot (developer) 2022-10-18 18:05 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/19 [^] |
(0142359) ucarrion (developer) 2022-10-20 15:22 |
Still KO for me. Even if the <TipoDocumento> tag changes to TD04 whenever it is a return, the amounts are still negative while they are expected to be positive. Find file attached. |
(0142433) hgbot (developer) 2022-10-24 09:45 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/21 [^] |
(0142434) hgbot (developer) 2022-10-24 09:49 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^] Changeset: a9b84c6fb181f578d197d586ae6684570bb22bf1 Author: Javier <javieretxarri@ekinbe.com> Date: 24-10-2022 07:49:17 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/a9b84c6fb181f578d197d586ae6684570bb22bf1 [^] Fixes ISSUE-50516: Apart from quantity, amounts must be also positive --- M src-test/org/openbravo/localization/italy/einvoice/TestItalyXMLCreationFromJson.java M src/org/openbravo/localization/italy/einvoice/xmlengine/document/ItalyDatiGeneraliDocumento.java M src/org/openbravo/localization/italy/einvoice/xmlengine/document/ItalyDatiRiepilogo.java M src/org/openbravo/localization/italy/einvoice/xmlengine/document/ItalyDettaglioLinee.java M src/org/openbravo/localization/italy/einvoice/xmlengine/document/ItalyScontoMaggiorazione.java --- |
(0142435) hgbot (developer) 2022-10-24 09:49 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/21 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2022-10-13 14:29 | remibrunet | New Issue | |
2022-10-13 14:29 | remibrunet | Assigned To | => psanjuan |
2022-10-13 14:29 | remibrunet | File Added: IT06026940012_0lftm.xml | |
2022-10-13 14:32 | remibrunet | Proposed Solution updated | |
2022-10-13 14:55 | psanjuan | Assigned To | psanjuan => jetxarri |
2022-10-13 14:58 | ucarrion | Issue Monitored: ucarrion | |
2022-10-14 08:09 | hgbot | Note Added: 0142051 | |
2022-10-14 08:11 | hgbot | Note Added: 0142052 | |
2022-10-18 16:13 | hgbot | Resolution | open => fixed |
2022-10-18 16:13 | hgbot | Status | new => closed |
2022-10-18 16:13 | hgbot | Note Added: 0142241 | |
2022-10-18 16:13 | hgbot | Note Added: 0142242 | |
2022-10-18 18:05 | hgbot | Note Added: 0142249 | |
2022-10-18 18:05 | hgbot | Note Added: 0142250 | |
2022-10-20 15:21 | ucarrion | Note Added: 0142358 | |
2022-10-20 15:22 | ucarrion | Note Deleted: 0142358 | |
2022-10-20 15:22 | ucarrion | Note Added: 0142359 | |
2022-10-20 15:22 | ucarrion | Status | closed => new |
2022-10-20 15:22 | ucarrion | Resolution | fixed => open |
2022-10-20 15:22 | ucarrion | Tag Attached: NOR | |
2022-10-20 15:22 | ucarrion | Tag Attached: NORAUTO | |
2022-10-20 15:22 | ucarrion | File Added: IT06026940012_0lfuu.xml | |
2022-10-24 09:45 | hgbot | Note Added: 0142433 | |
2022-10-24 09:49 | hgbot | Resolution | open => fixed |
2022-10-24 09:49 | hgbot | Status | new => closed |
2022-10-24 09:49 | hgbot | Note Added: 0142434 | |
2022-10-24 09:49 | hgbot | Note Added: 0142435 |
Copyright © 2000 - 2009 MantisBT Group |