Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0050040 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo Localizations] Localization Italy | major | always | 2022-08-23 17:26 | 2022-09-13 15:58 | |||
Reporter | rtoledano | View Status | public | |||||
Assigned To | rtoledano | |||||||
Priority | high | 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 | 0050040: Electronic Invoice Italy - Wrong mapping of Prezzo Unitario | |||||||
Description | There is a wrong mapping of the field Prezzo Unitario as this one must not include VAT, it should be NET but including discounts per unit. Spec fixed: https://docs.google.com/document/d/1Za1KJsTSxVrOjJBcAT7MG5nU1OEkHvpXM28SjDAD1Ws/edit# [^] See correct mapping in: 2.2.1.9 <PrezzoUnitario> current one implemented (wrong) - c_invoice.c_invoiceLine.Grosspricelist correct one to be implemented [c_invoice.c_invoiceLine.PriceActual] + [c_invoice.c_invoiceLine.c_InvoiceLine_Offer.Amtoffer] RM: https://openbravo.atlassian.net/browse/RM-2487 [^] | |||||||
Steps To Reproduce | I have attached two XML files. The first file related to a current generation: IT06026940012_0lfpo_DEV.xml You can check it with the validator: https://www.fatturacheck.it/ [^] And see the error message 'PrezzoTotale non calcolato secondo le specifiche tecniche'. In this Jira we need just this message to be fixed. Other ones need to be analyzed first. The second file is the fixed one: IT06026940012_0lfpo_DEV_OK.xml You can see that in the fist file(IT06026940012_0lfpo_DEV.xml) PrezzoUnitario have the wrong value. | |||||||
Tags | NOR | |||||||
Attached Files | IT06026940012_0lfpo_DEV.xml [^] (3,014 bytes) 2022-08-23 17:26 IT06026940012_0lfpo_DEV_OK.xml [^] (3,121 bytes) 2022-08-23 17:26 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0140327) hgbot (developer) 2022-08-24 00:17 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/10 [^] |
(0140374) hgbot (developer) 2022-08-24 16:44 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/75 [^] |
(0141063) hgbot (developer) 2022-09-13 15:57 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/75 [^] |
(0141064) hgbot (developer) 2022-09-13 15:57 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^] Changeset: 21bed432af81c32b21313bb7289cf10938cc849d Author: Roberto Carlos Toledano Gómez <rctg82@gmail.com> Date: 13-09-2022 13:57:15 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/21bed432af81c32b21313bb7289cf10938cc849d [^] Related to ISSUE-50040: Added new property mapping amountPerUnit to Invoice Line Offer entity and unitPrice to Invoice Line entity Added new property unitPrice to OrderLine entity to be consistent with InvoiceLine entity --- M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml --- |
(0141065) hgbot (developer) 2022-09-13 15:58 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^] Changeset: 0eabb3aa63d1d002213c2ebd0b50019c3037728e Author: Roberto Carlos Toledano Gómez <rctg82@gmail.com> Date: 13-09-2022 13:58:56 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/0eabb3aa63d1d002213c2ebd0b50019c3037728e [^] Fixed ISSUE-50040: Fixed PrezzoUnitario calculation. PrezzoUnitario must be the price with tax applied plus discounts of the line per unit --- M src-test/org/openbravo/localization/italy/einvoice/TestItalyXMLCreationFromJson.java M src/org/openbravo/localization/italy/einvoice/xmlengine/document/ItalyDettaglioLinee.java --- |
(0141066) hgbot (developer) 2022-09-13 15:58 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/10 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2022-08-23 17:26 | rtoledano | New Issue | |
2022-08-23 17:26 | rtoledano | Assigned To | => rtoledano |
2022-08-23 17:26 | rtoledano | File Added: IT06026940012_0lfpo_DEV.xml | |
2022-08-23 17:26 | rtoledano | File Added: IT06026940012_0lfpo_DEV_OK.xml | |
2022-08-23 17:28 | rtoledano | Tag Attached: NOR | |
2022-08-24 00:17 | hgbot | Note Added: 0140327 | |
2022-08-24 00:20 | rtoledano | Description Updated | View Revisions |
2022-08-24 16:44 | hgbot | Note Added: 0140374 | |
2022-08-30 10:25 | rafaroda | Relationship added | related to 0050020 |
2022-09-06 14:59 | sebastien_liron | Assigned To | rtoledano => vmromanos |
2022-09-06 16:15 | aferraz | Assigned To | vmromanos => rtoledano |
2022-09-13 15:57 | hgbot | Note Added: 0141063 | |
2022-09-13 15:57 | hgbot | Note Added: 0141064 | |
2022-09-13 15:58 | hgbot | Resolution | open => fixed |
2022-09-13 15:58 | hgbot | Status | new => closed |
2022-09-13 15:58 | hgbot | Note Added: 0141065 | |
2022-09-13 15:58 | hgbot | Note Added: 0141066 |
Copyright © 2000 - 2009 MantisBT Group |