Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031238Retail ModulesDiscounts and Promotionspublic2015-10-23 14:172015-10-23 14:17
plujan 
Retail 
normalmajorhave not tried
newopen 
5
main 
 
No
0031238: [RR15Q4] [Sell at Cost Price module] Uncaught exception when applying a discount for selling at cost price
Applying a recently created "sell at cost" discount generates an exception
Install the module folloing this test case:
https://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-9672 [^]

Configure the discount following this test case: https://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-9673 [^]

Use the discount by following this test case:
https://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-9674 [^]

Note that expected result of last test case is not achieved. Instead, an exception is raised (see attach). Web console shows: Uncaught TypeError: Cannot read property 'toString' of undefined
No tags attached.
png ErrorSellingAtCost.png (129,147) 2015-10-23 14:17
https://issues.openbravo.com/file_download.php?file_id=8629&type=bug
png
Issue History
2015-10-23 14:17plujanNew Issue
2015-10-23 14:17plujanAssigned To => Retail
2015-10-23 14:17plujanFile Added: ErrorSellingAtCost.png
2015-10-23 14:17plujanTriggers an Emergency Pack => No

There are no notes attached to this issue.