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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033990
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2016-09-14 13:522016-10-18 15:33
ReportermalsasuaView Statuspublic 
Assigned Toshivum039 
PrioritynormalResolutionfixedFixed in VersionRR16Q4
StatusclosedFix in branchFixed in SCM revision7719ea76ddf3
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033990: negative price unit is calcultaed, in sales order window, when discounts are applied and scale products

Descriptionwhen a ticket is created with two lines of the same product, with one discount, and the discount amount is higher that the amount of the second line, the price unit calculated in the sales order synced in backoffice is negative
Steps To Reproducein BO:
. product window: Whistle
    set as scale
. discount and promotions window:
 . new discount: test
   type: Fixed Percentage Discount
   Include products: Only those defined
   discount: 80 %
 . tab products
   Whistle

in terminal
. new receipt
  line 1: whistle
  line 2: whistle
. complete it

in backoffice:
. the sales order has got two lines:
ERROR: the second line: net unit price and gross unit price is negative

(see attachments)
TagsNo tags attached.
Attached Filespng file icon discount.png [^] (131,541 bytes) 2016-09-14 13:53


png file icon terminalNewReceipt.png [^] (177,338 bytes) 2016-09-14 13:53


png file icon salesorder.png [^] (143,975 bytes) 2016-09-14 13:53


patch file icon FIX33990.patch [^] (1,718 bytes) 2016-09-30 12:43 [Show Content]
patch file icon 33990TEST.patch [^] (8,261 bytes) 2016-09-30 12:43 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0090601)
hgbot (developer)
2016-10-17 08:28

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7719ea76ddf3ed9b48f70fe6867028a3eb748a56
Author: Shivanand Madiwalar <shivanand.madiwalar <at> promantia.com>
Date: Thu Oct 06 11:53:27 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7719ea76ddf3ed9b48f70fe6867028a3eb748a56 [^]

Fixes Issue 33990 :-ve line gross price in the sales Order when product attribute grouped and scaled are true.

Treat product as non-grouped when the attributes of product grouped&scaled are checked .

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0090602)
hgbot (developer)
2016-10-17 08:29

Repository: tools/automation/pi-mobile
Changeset: 501c1f6cdc437fc1f2e7b5cd92c18afe729beb6c
Author: Shivanand Madiwalar <shivanand.madiwalar <at> promantia.com>
Date: Mon Oct 03 14:29:25 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/501c1f6cdc437fc1f2e7b5cd92c18afe729beb6c [^]

verifies To Issue 33990 :-ve line gross price in the sales Order when product attribute grouped and scaled are true.

Treat product as non-grouped when the attributes of product grouped&scaled are checked .

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I33990_scaleplusgrouped_considernongrouped.java
---

- Issue History
Date Modified Username Field Change
2016-09-14 13:52 malsasua New Issue
2016-09-14 13:52 malsasua Assigned To => Retail
2016-09-14 13:52 malsasua Resolution time => 1475791200
2016-09-14 13:52 malsasua Triggers an Emergency Pack => No
2016-09-14 13:53 malsasua File Added: discount.png
2016-09-14 13:53 malsasua File Added: terminalNewReceipt.png
2016-09-14 13:53 malsasua File Added: salesorder.png
2016-09-16 13:12 shivum039 Assigned To Retail => shivum039
2016-09-16 13:12 shivum039 Status new => scheduled
2016-09-20 21:02 Integritas Issue Monitored: Integritas
2016-09-30 12:43 shivum039 File Added: FIX33990.patch
2016-09-30 12:43 shivum039 File Added: 33990TEST.patch
2016-10-17 08:28 hgbot Checkin
2016-10-17 08:28 hgbot Note Added: 0090601
2016-10-17 08:28 hgbot Status scheduled => resolved
2016-10-17 08:28 hgbot Resolution open => fixed
2016-10-17 08:28 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7719ea76ddf3ed9b48f70fe6867028a3eb748a56 [^]
2016-10-17 08:29 hgbot Checkin
2016-10-17 08:29 hgbot Note Added: 0090602
2016-10-18 15:33 guilleaer Review Assigned To => guilleaer
2016-10-18 15:33 guilleaer Status resolved => closed
2016-10-18 15:33 guilleaer Fixed in Version => RR16Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker