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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053285
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Fashionmajorhave not tried2023-08-24 11:032023-08-25 08:41
ReporterAugustoMauchView Statuspublic 
Assigned Toyogaskarnik 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053285: Alteration labels don't print after creating an a posteriori alteration if new ticket is created after each sale

DescriptionThis issue [1] tried to fix the print of a posteriori alterations, meaning alterations what were added to a product that had been sold previously.

The issue is not complete because it does not work if the "WEB POS always create new receipt after pay a receipt" preference is set to true, because this line [2] assumes that the original ticket will be the active ticket right after selling the alteration. If the mentioned preference is set to Y the original ticket will not be in the foreground, instead the active ticket will be a new one.

[1] https://issues.openbravo.com/view.php?id=50695 [^]
[2] https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.service.provider/-/commit/e27643b133243c11692a4f0115ff7ef822555ddd#758427ad78191eccce924d7cb99b34ac36a166d2_27_28 [^]
Steps To ReproduceIn any POS2 environment that contains the org.openbravo.pos2.service.provider:

In the backend:
- set the "WEB POS always create new receipt after pay a receipt" preference to Y for the vallblanca user
- set the "Number of printed alteration labels" preference to 2 for the vallblanca user
- Add an entry to the Service Provider window
- Update the "Warranty (deferrable 5 days)" product, set its "Requires follow up" flag to true
- logout

In POS2
- Add a GPS Mini to the ticket
- Don't add a service yet, complete the ticket
- Load the previous Ticket
- Click on the button to add a service, selected "Warranty (deferrable 5 days)".
- Select the option to add the service to a new ticket
- Complete the ticket
- Note that the alteration info will not be printed
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 0050695 closedadrianromero Alteration labels don't print after creating an a posteriori alteration 

-  Notes
(0153896)
hgbot (developer)
2023-08-24 11:07

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.service.provider/-/merge_requests/43 [^]
(0153951)
hgbot (developer)
2023-08-25 08:41

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.service.provider [^]
Changeset: 66c887cf6f76698b86d556c3c811561a77307d88
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 25-08-2023 06:41:04
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.service.provider/-/commit/66c887cf6f76698b86d556c3c811561a77307d88 [^]

Fixes ISSUE-53285: Look for the original ticket in both foreground and background tickets

---
M web-jspack/org.openbravo.pos2.service.provider/src/model/ticket/actions/CompleteTicketPostHooks.js
---
(0153952)
hgbot (developer)
2023-08-25 08:41

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

- Issue History
Date Modified Username Field Change
2023-08-24 11:03 AugustoMauch New Issue
2023-08-24 11:03 AugustoMauch Assigned To => yogaskarnik
2023-08-24 11:03 AugustoMauch Triggers an Emergency Pack => No
2023-08-24 11:04 AugustoMauch Relationship added depends on 0050695
2023-08-24 11:07 hgbot Note Added: 0153896
2023-08-25 08:41 hgbot Resolution open => fixed
2023-08-25 08:41 hgbot Status new => closed
2023-08-25 08:41 hgbot Note Added: 0153951
2023-08-25 08:41 hgbot Note Added: 0153952


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker