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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054021
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2023-11-24 10:572023-12-07 15:38
ReporterifernandezView Statuspublic 
Assigned Toifernandez 
PriorityhighResolutionfixedFixed in Version24Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerNo
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0054021: Invoice can be revoked when paying a fiscalized ticket

DescriptionIn some of the fiscalization modules (ae: Spain/Portugal), a ticket with a total price higher than a threshold need to be sold as an invoice with some data requested to the client. This data request and invoice validation is done when clicking on the 'pay' button, before changing to the payment section.

When accessing to the payment section, this invoice can be revoked and still continue with the ticket checkout. Doing this, the ticket will be registered with the data entered in the request, but it won't be registered as an invoice.
Steps To ReproduceCreate a ticket using the Spain fiscalization module with more than 3000€ of total amount (20 units of Avalanche transceiver).
Click on the pay button.
Add something as name and W2024250I as Tax Id and click on OK.
In the payment window click on the X near "Issue Invoice".
Select a payment method and pay.
Proposed SolutionThese are some ideas to solve this issue:

Disable this cancel Invoice on the payment window when using these modules.

Check again if the ticket is invoiced when attempting to checkout.

Don't cancel Invoice when clicking on the X, instead show a message and remain invoiced (or cancel the invoice and return to the previous window, prior to payment).
TagsNo tags attached.
Attached Filespng file icon invoice.png [^] (113,777 bytes) 2023-11-24 10:57

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0157970)
hgbot (developer)
2023-12-05 16:05

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2279 [^]
(0158013)
hgbot (developer)
2023-12-07 15:38

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 4c0fd309ddbe05e671d0f6b966916ad2f65f862a
Author: Íñigo Fernández <inigo.fernandez@openbravo.com>
Date: 07-12-2023 14:38:45
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/4c0fd309ddbe05e671d0f6b966916ad2f65f862a [^]

Fixes ISSUE-54021: Invoice can be revoked when paying a fiscalized ticket

---
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/IssueInvoice.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/__test__/IssueInvoice.test.js
---
(0158014)
hgbot (developer)
2023-12-07 15:38

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2279 [^]

- Issue History
Date Modified Username Field Change
2023-11-24 10:57 ifernandez New Issue
2023-11-24 10:57 ifernandez Assigned To => Triage Omni OMS
2023-11-24 10:57 ifernandez File Added: invoice.png
2023-11-24 10:57 ifernandez OBNetwork customer => No
2023-11-24 10:57 ifernandez Triggers an Emergency Pack => No
2023-12-05 16:05 hgbot Merge Request Status => open
2023-12-05 16:05 hgbot Note Added: 0157970
2023-12-07 15:38 hgbot Merge Request Status open => approved
2023-12-07 15:38 hgbot Resolution open => fixed
2023-12-07 15:38 hgbot Status new => closed
2023-12-07 15:38 hgbot Fixed in Version => 24Q1
2023-12-07 15:38 hgbot Note Added: 0158013
2023-12-07 15:38 hgbot Note Added: 0158014
2023-12-07 15:38 aferraz Assigned To Triage Omni OMS => ifernandez


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker