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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048068
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajorhave not tried2021-11-16 01:502022-01-04 12:16
Reportercollazoandy4View Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR22Q1
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

0048068: Wrong User Defined Line Amount discount after create a Sales Order from Quotation

DescriptionIf a Sales Order is created from a quotation which have a User Defined Line Amount discount applied the amounts of the receipt is not properly calculated when the product quantity is increased
Steps To ReproduceLog in the backoffice as White Valley Group Admin role
Go to Discount and Promotions and create a new record:
  Discount promotion type: User Defined Line Amount
  Name: Line Amount Discount
  Starting date: First date of the month
Log in YS-11 Pos terminal and create a new Quotation
  Product: Avalanche Transceiver
Add the previous discount created and set as final price 140
A new discount line is created with an amount of -10.50
Check the total amount of receipt is 140.0
Syncronize the Quotation to the backoffice
Open the previous quotation and create a sales order from it
Check the new receipt total amount is 140.0 and the discount amount is -10.50
If more quantity to the product is added to the line the discount amount is not calculated and the total amount is also wrong.
TagsNo tags attached.
Attached Filesdiff file icon 48068_20Q1_discounts.diff [^] (1,573 bytes) 2022-01-04 12:16 [Show Content]
diff file icon 48068_20Q1_posterminal.diff [^] (1,403 bytes) 2022-01-04 12:16 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0047948 closedranjith_qualiantech_com Wrong User Defined Line Amount discount after C&R 

-  Notes
(0133473)
hgbot (developer)
2021-12-02 09:50

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/646 [^]
(0133474)
hgbot (developer)
2021-12-02 09:50

Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/150 [^]
(0133475)
hgbot (developer)
2021-12-02 09:50

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/46 [^]
(0133551)
hgbot (developer)
2021-12-09 11:43

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: c73e28e7736c5d7ec579f25405b7e62c6aaa5347
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-12-09T10:43:25+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/c73e28e7736c5d7ec579f25405b7e62c6aaa5347 [^]

Related to ISSUE-48068: Order should be created from quotation with promotion
* When creating order from quotation, promotion should be recalculated if user changes the ticket

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/CreateTicketFromQuotation.js
---
(0133552)
hgbot (developer)
2021-12-09 11:43

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/646 [^]
(0133553)
hgbot (developer)
2021-12-09 11:43

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: d1149d710f49fb64604dd8e5f0fc39478a51d24d
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-12-09T10:43:34+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/d1149d710f49fb64604dd8e5f0fc39478a51d24d [^]

Fixed ISSUE-48068: Discount should be recalculated when creating order from quotation

---
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/interface/discount-posinterface.js
---
(0133554)
hgbot (developer)
2021-12-09 11:43

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/46 [^]
(0133555)
hgbot (developer)
2021-12-09 11:43

Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/150 [^]
(0133556)
hgbot (developer)
2021-12-09 11:43

Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 80b2fb083f05999178fb2a150e67b29d4d877cd9
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-12-02T14:04:07+05:30
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/80b2fb083f05999178fb2a150e67b29d4d877cd9 [^]

Verifies ISSUE-48068: Added test I48068_CreateOrderFromQuotation

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/quotations/I48068_CreateOrderFromQuotation.java
---

- Issue History
Date Modified Username Field Change
2021-11-16 01:50 collazoandy4 New Issue
2021-11-16 01:50 collazoandy4 Assigned To => Retail
2021-11-16 01:50 collazoandy4 Triggers an Emergency Pack => No
2021-11-16 01:51 collazoandy4 Relationship added related to 0047948
2021-11-25 16:21 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2021-12-01 08:01 ranjith_qualiantech_com Status new => scheduled
2021-12-02 09:50 hgbot Note Added: 0133473
2021-12-02 09:50 hgbot Note Added: 0133474
2021-12-02 09:50 hgbot Note Added: 0133475
2021-12-09 11:43 hgbot Note Added: 0133551
2021-12-09 11:43 hgbot Note Added: 0133552
2021-12-09 11:43 hgbot Resolution open => fixed
2021-12-09 11:43 hgbot Status scheduled => closed
2021-12-09 11:43 hgbot Fixed in Version => RR22Q1
2021-12-09 11:43 hgbot Note Added: 0133553
2021-12-09 11:43 hgbot Note Added: 0133554
2021-12-09 11:43 hgbot Note Added: 0133555
2021-12-09 11:43 hgbot Note Added: 0133556
2022-01-04 12:16 ranjith_qualiantech_com File Added: 48068_20Q1_discounts.diff
2022-01-04 12:16 ranjith_qualiantech_com File Added: 48068_20Q1_posterminal.diff


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker