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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047033
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Restaurantsminoralways2021-06-09 11:072021-06-22 15:42
Reportertimothee_catteeuwView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionTAP
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned TojavierRodriguez
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0047033: JIRA 2020 - it is possible to generate a Proof of payment with an 0 amount

DescriptionCurrently on the restaurant module it is possible to generate a proof of payment with an 0 amount.

For example in case you do a ticket and you apply 100% discount off.
The sales ticket can be printed and the amount is O.

After if you try to do a proof of payment it is possible but 2 things :
- when trying generating it in filled in amount by filling in an amount (ex : 10 €), this technical error is displayed --> dodivide(): Divide by 0
- The client indicated me this can not happened, if the amount is 0, impossible to do a proof of payment, you can try nowadays it is possible (if the ticket is 0 € and you do a proof of payment in equal part for example)
Steps To ReproduceDo a ticket
Select 1 or more articles
Apply a 100% off (example a manual discount)
Print the sales ticket
Open the last proof of payment option
Create a proof of payment (filled in amount) with 10 €
Generate
error = dodivide(): Divide by 0


TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0129714)
hgbot (developer)
2021-06-22 12:29

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/572 [^]
(0129719)
hgbot (developer)
2021-06-22 15:42

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: aa5e77b88289f51278ec233e7f4b7b4944acced6
Author: Jorge Garcia <jorge.garcia@openbravo.com>
Date: 2021-06-22T15:34:45+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/aa5e77b88289f51278ec233e7f4b7b4944acced6 [^]

Fixed ISSUE-47033: Avoid to navigate to Proof Of Payment window if the ticket
has groosAmount of 0

---
M web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/proofOfPayment/OpenProofOfPaymentList.js
---
(0129720)
hgbot (developer)
2021-06-22 15:42

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

- Issue History
Date Modified Username Field Change
2021-06-09 11:07 timothee_catteeuw New Issue
2021-06-09 11:07 timothee_catteeuw Assigned To => Retail
2021-06-09 11:07 timothee_catteeuw Triggers an Emergency Pack => No
2021-06-09 11:44 dmiguelez Status new => acknowledged
2021-06-09 11:44 dmiguelez Type design defect => defect
2021-06-09 11:45 dmiguelez Resolution time => 1625608800
2021-06-22 11:04 jorge-garcia Assigned To Retail => jorge-garcia
2021-06-22 11:04 jorge-garcia Status acknowledged => scheduled
2021-06-22 12:29 hgbot Note Added: 0129714
2021-06-22 12:30 jorge-garcia Review Assigned To => javierRodriguez
2021-06-22 15:42 hgbot Resolution open => fixed
2021-06-22 15:42 hgbot Status scheduled => closed
2021-06-22 15:42 hgbot Note Added: 0129719
2021-06-22 15:42 hgbot Note Added: 0129720


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker