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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051030
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo Localizations] Localization Italymajoralways2022-11-29 12:202022-11-30 11:09
ReporterucarrionView Statuspublic 
Assigned Tojetxarri 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Regression introduced in release
Summary

0051030: Incorrect <Importo> when more than one unit per line

DescriptionThe eInvoice web validator is raising and error because of and incorrect <PrezzoTotale> when submitting an invoice with a line with quantity >1 due to an incorrect value in the <ScontoMaggiorazzione><Importo> tag.
Steps To Reproduce-Login an Italian terminal.
-Do sales INVOICES including discounts.
-Do sales INVOICES including no discounts.
-In the backoffice, execute the "Export Italy Invoices to a XML file" background process.
-In the sales invoice window check the files generated for any of the invoices created.
-In case of need, you can check the file validity in: https://www.fatturacheck.it/ [^]
Proposed SolutionThe problem is that the importo of the discount, should be by unit and not the total discount.
Exactly the column
 c_invoice.c_invoiceLine.c_InvoiceLine_Offer.Amtoffer
TagsNOR, NORAUTO
Attached Filespng file icon PrezzoUnitario.png [^] (71,777 bytes) 2022-11-29 12:20


png file icon PrezzoUnitario_2lines.png [^] (46,572 bytes) 2022-11-29 12:20


xls file icon Table view B2B Ordinary invoice (5).xls [^] (180,736 bytes) 2022-11-29 12:21

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0050642 closedjetxarri Incorrect <PrezzoTotale> when a return invoice contains a discount 

-  Notes
(0144239)
hgbot (developer)
2022-11-30 09:46

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/29 [^]
(0144242)
hgbot (developer)
2022-11-30 11:09

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^]
Changeset: f7e5696d2a361bb19fbf922d03141ae16d910361
Author: Javier <javieretxarri@ekinbe.com>
Date: 30-11-2022 10:09:47
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/f7e5696d2a361bb19fbf922d03141ae16d910361 [^]

Fixes ISSUE-51030: Incorrect <Importo> when more than one unit per line

---
M src-test/org/openbravo/localization/italy/einvoice/TestItalyXMLCreationFromJson.java
M src/org/openbravo/localization/italy/einvoice/xmlengine/document/ItalyDettaglioLinee.java
---
(0144243)
hgbot (developer)
2022-11-30 11:09

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/29 [^]

- Issue History
Date Modified Username Field Change
2022-11-29 12:20 ucarrion New Issue
2022-11-29 12:20 ucarrion Assigned To => Triage Omni OMS
2022-11-29 12:20 ucarrion File Added: PrezzoUnitario.png
2022-11-29 12:20 ucarrion File Added: PrezzoUnitario_2lines.png
2022-11-29 12:21 ucarrion File Added: Table view B2B Ordinary invoice (5).xls
2022-11-29 12:22 ucarrion Relationship added related to 0050642
2022-11-29 19:13 aferraz Assigned To Triage Omni OMS => jetxarri
2022-11-30 09:41 jetxarri Proposed Solution updated
2022-11-30 09:46 hgbot Note Added: 0144239
2022-11-30 09:52 ucarrion Summary Incorrect <PrezzoTotale> cause by an incorrect <PrezzoUnitario> => Incorrect <Importo> when more than one unit per line
2022-11-30 09:52 ucarrion Description Updated View Revisions
2022-11-30 09:52 ucarrion Proposed Solution updated
2022-11-30 09:53 ucarrion Tag Attached: NOR
2022-11-30 09:53 ucarrion Tag Attached: NORAUTO
2022-11-30 10:10 ucarrion Issue Monitored: javietxe
2022-11-30 11:09 hgbot Resolution open => fixed
2022-11-30 11:09 hgbot Status new => closed
2022-11-30 11:09 hgbot Note Added: 0144242
2022-11-30 11:09 hgbot Note Added: 0144243


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker