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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027920
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POScriticalhave not tried2014-10-20 18:582015-08-20 14:15
ReporteradrianromeroView Statuspublic 
Assigned Toadrianromero 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiona9b788ddc572
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027920: If promotions field is not defined, a javascript error is raised when calculating taxes

DescriptionIn some instances, it is raised a javascript error when adding a new product to the receipt. The problem is when calculating taxes in the line:

https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/dc09f9595d0b/web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js#l85 [^]

If the 'promotions' field is not defined, discountedGross will be null, and raise an error in the line:

https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/dc09f9595d0b/web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js#l153 [^]
Steps To ReproduceN.A.
Proposed SolutionInitialize properly discontedGross when 'promotions' is not defined yet.
TagsNo tags attached.
Attached Filespatch file icon Issue27920.patch [^] (1,298 bytes) 2014-10-20 19:24 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 0027778RR14Q4 closedmarvintm Taxes are not being applied properly in Web POS with an specific configuration 
related to defect 0027928 closedmarvintm error is returned when return line is done 

-  Notes
(0071078)
hgbot (developer)
2014-10-21 12:13

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9192786617b042b4d51974846a8756a4e4467b93
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Tue Oct 21 12:13:30 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9192786617b042b4d51974846a8756a4e4467b93 [^]

fixed issue 27920:discountedGross is used only if it is not null

---
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---
(0071082)
migueldejuana (developer)
2014-10-21 12:46

Tested and reviewed in 0be6bec9c7c8
(0078734)
hgbot (developer)
2015-07-08 09:46

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a9b788ddc57285e209e1e6782da962efceb883b5
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Tue Oct 21 12:13:30 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a9b788ddc57285e209e1e6782da962efceb883b5 [^]

fixed issue 27920:discountedGross is used only if it is not null

---
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---

- Issue History
Date Modified Username Field Change
2014-10-20 18:58 adrianromero New Issue
2014-10-20 18:58 adrianromero Assigned To => adrianromero
2014-10-20 18:58 adrianromero Triggers an Emergency Pack => No
2014-10-20 19:24 adrianromero File Added: Issue27920.patch
2014-10-21 12:13 hgbot Checkin
2014-10-21 12:13 hgbot Note Added: 0071078
2014-10-21 12:13 hgbot Status new => resolved
2014-10-21 12:13 hgbot Resolution open => fixed
2014-10-21 12:13 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9192786617b042b4d51974846a8756a4e4467b93 [^]
2014-10-21 12:23 malsasua Relationship added related to 0027928
2014-10-21 12:46 migueldejuana Review Assigned To => migueldejuana
2014-10-21 12:46 migueldejuana Note Added: 0071082
2014-10-21 12:46 migueldejuana Status resolved => closed
2014-10-21 12:54 adrianromero Relationship added caused by 0027778
2015-07-08 09:46 hgbot Checkin
2015-07-08 09:46 hgbot Note Added: 0078734
2015-07-08 09:46 hgbot Status closed => resolved
2015-07-08 09:46 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9192786617b042b4d51974846a8756a4e4467b93 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a9b788ddc57285e209e1e6782da962efceb883b5 [^]
2015-08-20 14:15 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker