Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031463Retail ModulesWeb POSpublic2015-10-21 16:352015-11-13 16:36
migueldejuana 
migueldejuana 
normalmajoralways
closedfixed 
5
 
RR15Q4RR15Q4 
marvintm
No
0031463: Creating and assigning a new bp, fails in the second try and onwards
When we create a new bp, we can assign it to the order. We are passing the new bp as parameter to assign it to order bp. What is wrong? We are using a reference, no a new object, so if we change sent customer, we also change order bp. It happens when we create an bp, so the next time we create an order, we are changing customer passed as parameter and therefore order bp.

In web pos, the second time we create and assign a new bp, it is not assigned to the order. In case of remote customers, we get a javascript error.
- Login
- Open bp modal
- New Customer
- Fill info and assign the customer to the order
- Open bp modal
- New Customer
- Fill info and assign the customer to the order
. ERROR: The bp is not assigned
No tags attached.
blocks defect 0031206 closed migueldejuana Creating and assigning a new bp, fails in the second try and onwards 
Issue History
2015-11-13 11:40OrekariaTypedefect => backport
2015-11-13 11:40OrekariaTarget Version => RR15Q4
2015-11-13 11:43hgbotCheckin
2015-11-13 11:43hgbotNote Added: 0081815
2015-11-13 11:43hgbotStatusscheduled => resolved
2015-11-13 11:43hgbotResolutionopen => fixed
2015-11-13 11:43hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5ae73248f1982af74bc89d6688ff006712a621f6 [^] => http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/25dabe3697997f5e6c8180bfab323aa6e8b63bef [^]
2015-11-13 11:43hgbotCheckin
2015-11-13 11:43hgbotNote Added: 0081816
2015-11-13 11:43hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/25dabe3697997f5e6c8180bfab323aa6e8b63bef [^] => http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/9e527b1978a07fe7e08a063692958ac770e9934d [^]
2015-11-13 16:36marvintmReview Assigned Tomtaal => marvintm
2015-11-13 16:36marvintmStatusresolved => closed
2015-11-13 16:36marvintmFixed in Version => RR15Q4

Notes
(0081815)
hgbot   
2015-11-13 11:43   
Repository: retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal
Changeset: 25dabe3697997f5e6c8180bfab323aa6e8b63bef
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Oct 21 16:36:49 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/25dabe3697997f5e6c8180bfab323aa6e8b63bef [^]

Fixed issue 31463: Creating and assigning a new bp, fails in the second try and onwards

We are passing the new bp as parameter to assign it to order bp. What is wrong? We are using a reference, no a new object, so if we change sent customer, we also change order bp

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customers/components/sharedcomponents.js
---
(0081816)
hgbot   
2015-11-13 11:43   
Repository: retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal
Changeset: 9e527b1978a07fe7e08a063692958ac770e9934d
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Oct 26 18:38:12 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/9e527b1978a07fe7e08a063692958ac770e9934d [^]

Fixed issue 31463: Creating and assigning a new bp, fails in the second try and onwards

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customeraddress/components/sharedcomponents.js
---