Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046577Retail ModulesWeb POSpublic2021-04-22 19:022021-06-03 15:46
jmelin 
gorka_gil 
normalmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
RR21Q2.1RR21Q2 
marvintm
No
0046577: JIRA 1745 - Amount without/with promotions is not available when reloading an order
When creating an order and applying promotions, the normal price is crossed out and you have the price with promotions

When reloading an order (to print duplicate for example), you don't have
1. Connect to VBS-2
2. Create an order and apply promotions
3. pay and finalize the order
4. Go to "Orders" screen and reload the order you made previously

=> you don't have normal + price with promotions
No tags attached.
blocks defect 0046333 closed gorka_gil JIRA 1745 - Amount without/with promotions is not available when reloading an order 
Issue History
2021-05-07 11:18gorka_gilTypedefect => backport
2021-05-07 11:18gorka_gilTarget Version => RR21Q2.1
2021-05-10 11:46hgbotResolutionopen => fixed
2021-05-10 11:46hgbotStatusscheduled => resolved
2021-05-10 11:46hgbotFixed in Version => RR21Q2
2021-05-10 11:46hgbotNote Added: 0127935
2021-05-10 11:46marvintmReview Assigned To => marvintm
2021-05-10 11:46marvintmStatusresolved => closed
2021-05-26 13:02hgbotNote Added: 0128648
2021-05-31 11:32hgbotNote Added: 0128810
2021-05-31 11:32hgbotNote Added: 0128811
2021-06-03 13:58hgbotNote Added: 0129018
2021-06-03 15:46hgbotNote Added: 0129021
2021-06-03 15:46hgbotNote Added: 0129022

Notes
(0127935)
hgbot   
2021-05-10 11:46   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 37a795e84632f5cbb190397ac646554660c27688
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 2021-05-10T10:54:59+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/37a795e84632f5cbb190397ac646554660c27688 [^]

Fixes ISSUE-46577: fix display of line discounts when loading an order

Calculate correctly grossUnitAmount when laoding an order from backend

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket-list/actions/LoadRemoteTicket.js
---
(0128648)
hgbot   
2021-05-26 13:02   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/434 [^]
(0128810)
hgbot   
2021-05-31 11:32   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/434 [^]
(0128811)
hgbot   
2021-05-31 11:32   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: c670e27c86d06167c4b3fe9dcb827bee78947900
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 2021-05-31T09:32:01+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/c670e27c86d06167c4b3fe9dcb827bee78947900 [^]

Fixes ISSUE-46577: fix display of line discounts when loading an order, with ticket discounts apart

When ticket discounts are mark to show in the total:
- obposApplyTicketDiscountsToOrder (Organization: Show order discounts in a separate section)

Then is needed the grossUnitAmountWithoutTicketDiscounts instead the grossUnitAmount

Add missing properties when loading a ticket:
- grossUnitAmountWithoutTicketDiscounts
- grossUnitPriceWithoutTicketDiscounts

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket-list/actions/LoadRemoteTicket.js
---
(0129018)
hgbot   
2021-06-03 13:58   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/454 [^]
(0129021)
hgbot   
2021-06-03 15:46   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: dcf0880c3cadb3b5e8a7b11e1e7a3e786119327c
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-06-03T13:03:02+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/dcf0880c3cadb3b5e8a7b11e1e7a3e786119327c [^]

Related to ISSUE-46577: Added Quantity validation when loading Paid Receipts

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket-list/actions/LoadRemoteTicket.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js
---
(0129022)
hgbot   
2021-06-03 15:46   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/454 [^]