Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032575Retail ModulesWeb POSpublic2016-04-01 14:322016-04-20 08:24
paul_guiot 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
 
migueldejuana
No
0032575: [SERQA 868] In a quotation process, in some case, the promotion amount has been removed
When we want to create a sales order from a quotation with a discount and we do not flag the field "Firm quotation", the promotion disapears.
Go to the Webpos: https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VBS-1#retail.pointofsale [^]

Create a Quotation:
- Click on “Create Quotation” in the Menu;
- Select a product via the category tab:
o Chose “Pack”
o Research
o Select a pack (eg: Camping Pack)
o Click on the amount

The pack is included in the quotation with the promotion.

In the menu, select “Create Sales Order”

Unflag “Firm quotation” and click “Create Sales Order”

Error: In the sales order created, the promotion has been removed
SER-QA
Issue History
2016-04-01 14:32paul_guiotNew Issue
2016-04-01 14:32paul_guiotAssigned To => Retail
2016-04-01 14:32paul_guiotTriggers an Emergency Pack => No
2016-04-04 15:05amayavicenteSummaryIn a quotation process, in some case, the promotion amount has been removed => [SERQA 868] In a quotation process, in some case, the promotion amount has been removed
2016-04-04 15:06amayavicenteResolution time => 1460671200
2016-04-04 15:06amayavicenteTag Attached: SER-QA
2016-04-06 18:36OrekariaStatusnew => acknowledged
2016-04-07 15:22ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-04-07 15:22ranjith_qualiantech_comStatusacknowledged => scheduled
2016-04-19 10:56hgbotCheckin
2016-04-19 10:56hgbotNote Added: 0085739
2016-04-19 10:57hgbotCheckin
2016-04-19 10:57hgbotNote Added: 0085741
2016-04-19 10:57hgbotStatusscheduled => resolved
2016-04-19 10:57hgbotResolutionopen => fixed
2016-04-19 10:57hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0b1ae75525acb6dff18511e8e25a628140dd576a [^]
2016-04-19 11:39ranjith_qualiantech_comNote Added: 0085742
2016-04-19 11:40VictorVillarIssue Monitored: VictorVillar
2016-04-19 11:42migueldejuanaReview Assigned To => migueldejuana
2016-04-19 11:42migueldejuanaNote Added: 0085743
2016-04-19 11:42migueldejuanaStatusresolved => closed
2016-04-20 08:19hgbotCheckin
2016-04-20 08:19hgbotNote Added: 0085761
2016-04-20 08:19hgbotStatusclosed => resolved
2016-04-20 08:19hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0b1ae75525acb6dff18511e8e25a628140dd576a [^] => http://code.openbravo.com/tools/automation/pi-mobile/rev/7a3294db1aa28f2dd4f03a94e5fcc02cc29847a9 [^]
2016-04-20 08:24migueldejuanaNote Added: 0085763
2016-04-20 08:24migueldejuanaStatusresolved => closed

Notes
(0085739)
hgbot   
2016-04-19 10:56   
Repository: tools/automation/pi-mobile
Changeset: 3c4bfdd5b78f00d59a687f3e8748f59128b446e0
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Apr 19 14:25:48 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/3c4bfdd5b78f00d59a687f3e8748f59128b446e0 [^]

Verifies issue 32575 : Added automated test 'I32575_VerifyPromotionOnOrderToQuotation'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/multiselection/DisablePlusMinusMultipleLines.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I32575_VerifyPromotionOnOrderToQuotation.java
---
(0085741)
hgbot   
2016-04-19 10:57   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 0b1ae75525acb6dff18511e8e25a628140dd576a
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Apr 19 14:26:20 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0b1ae75525acb6dff18511e8e25a628140dd576a [^]

Fixes issue 32575 : Calculate receipt when order is created from quotation

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0085742)
ranjith_qualiantech_com   
2016-04-19 11:39   
Fix Description
1) calculateReceipt() fn, is added to apply the promotions, since the promotion was removed when we create order from quotation
2) Quotation closed validation has been duplicated. Condition was already present in order model setPrice fn
(0085743)
migueldejuana   
2016-04-19 11:42   
Tested and reviewed in 0b1ae75525ac
(0085761)
hgbot   
2016-04-20 08:19   
Repository: tools/automation/pi-mobile
Changeset: 7a3294db1aa28f2dd4f03a94e5fcc02cc29847a9
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Apr 20 08:14:08 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/7a3294db1aa28f2dd4f03a94e5fcc02cc29847a9 [^]

Fixed issue 0032575: [SERQA 868] In a quotation process, in some case, the promotion amount has been removed

- Add test for check stock button

---
A src-test/org/openbravo/test/mobile/quarantine/pack/MJU/products/I32296_ShowStock.java
---
(0085763)
migueldejuana   
2016-04-20 08:24   
Last commit was accidentaly related to this issue