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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035095
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajorhave not tried2017-01-26 15:432017-03-15 14:12
ReporterplujanView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in VersionRR17Q1
StatusclosedFix in branchFixed in SCM revisiona15c34a65e58
ProjectionnoneETAnoneTarget VersionRR17Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035095: [RR16Q4] Split lines shows an exception when changing the pricelist

DescriptionHaving multi price list enabled, the lines of a ticket are recalculated if the business partner changes. This results in an exception "Cannot read the property 'set' of undefined"
Steps To Reproduce1. Enable multi price list
2. Create a ticket for a specific business partner
3. Add 4 units of a product and split the lines in 3 and 1.
4. Change the business partner. Pick one using a different price list than the former one.
5. An exception is shown (see screenshot)
6. Note that the ticket now have a single line instead of the two it has before.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0035061 closedjorge-garcia [RR16Q4] Split lines shows an exception when changing the pricelist 

-  Notes
(0094114)
hgbot (developer)
2017-02-07 12:06

Repository: retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal
Changeset: a15c34a65e587047e636b90ab8b8c29eece24183
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Feb 07 12:05:24 2017 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal/rev/a15c34a65e587047e636b90ab8b8c29eece24183 [^]

Fixed issue 35095: [RR16Q4] Split lines shows an exception when changing
the pricelist

The problem was the creation of new lines when the customer changes was not
taking into account the attribute of splitlines.

The solution is to send this attribute and the original line to the addProduct
function.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0094115)
hgbot (developer)
2017-02-07 12:06

Repository: retail/backports/3.0RR17Q1/pi-mobile
Changeset: b53817402bc3170f9ea9235c1e0afe1e21c45873
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Feb 07 12:04:43 2017 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1/pi-mobile/rev/b53817402bc3170f9ea9235c1e0afe1e21c45873 [^]

Verifies issue 35095: [RR16Q4] Split lines shows an exception when changing
the pricelist

Added test I35061_ChangeCustomerWithSplitLines.

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/multipricelists/I35061_ChangeCustomerWithSplitLines.java
---
(0095041)
hgbot (developer)
2017-03-15 14:12

Repository: tools/automation/pi-mobile
Changeset: b53817402bc3170f9ea9235c1e0afe1e21c45873
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Feb 07 12:04:43 2017 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b53817402bc3170f9ea9235c1e0afe1e21c45873 [^]

Verifies issue 35095: [RR16Q4] Split lines shows an exception when changing
the pricelist

Added test I35061_ChangeCustomerWithSplitLines.

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/multipricelists/I35061_ChangeCustomerWithSplitLines.java
---

- Issue History
Date Modified Username Field Change
2017-01-31 08:58 marvintm Type defect => backport
2017-01-31 08:58 marvintm Target Version => RR17Q1
2017-02-07 12:06 hgbot Checkin
2017-02-07 12:06 hgbot Note Added: 0094114
2017-02-07 12:06 hgbot Status scheduled => resolved
2017-02-07 12:06 hgbot Resolution open => fixed
2017-02-07 12:06 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4c4b1ca65a8c8a1577a9f06b7d3d6edec8964854 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal/rev/a15c34a65e587047e636b90ab8b8c29eece24183 [^]
2017-02-07 12:06 hgbot Checkin
2017-02-07 12:06 hgbot Note Added: 0094115
2017-03-03 14:29 marvintm Status resolved => closed
2017-03-03 14:29 marvintm Fixed in Version => RR17Q1
2017-03-15 14:12 hgbot Checkin
2017-03-15 14:12 hgbot Note Added: 0095041


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker