Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030997Retail ModulesWeb POSpublic2015-10-01 06:302015-11-17 13:46
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
pi 
migueldejuana
No
0030997: Remote: saving customer results in error, when saving a customer and linking to a receipt you get error
When setting customer as remote and creating new customer and assigning to a receipt you get a js error.
Set remote customer preference
Create a new customer
Link to the receipt/ticket

See js error
See attached diff
No tags attached.
blocks backport 0031453RR15Q4 closed Orekaria [HighVol] Error when saving the business partner 
png Selection_032.png (291,048) 2015-10-01 06:30
https://issues.openbravo.com/file_download.php?file_id=8500&type=bug
diff ErrorSavingBPinHGVol.diff (1,152) 2015-10-01 06:30
https://issues.openbravo.com/file_download.php?file_id=8501&type=bug
Issue History
2015-10-01 06:30mtaalNew Issue
2015-10-01 06:30mtaalAssigned To => mtaal
2015-10-01 06:30mtaalFile Added: Selection_032.png
2015-10-01 06:30mtaalTriggers an Emergency Pack => No
2015-10-01 06:30mtaalFile Added: ErrorSavingBPinHGVol.diff
2015-10-01 07:31mtaalTarget VersionRR15Q4 =>
2015-10-05 10:52hgbotCheckin
2015-10-05 10:52hgbotNote Added: 0080811
2015-10-05 10:53hgbotCheckin
2015-10-05 10:53hgbotNote Added: 0080812
2015-10-05 10:53hgbotStatusnew => resolved
2015-10-05 10:53hgbotResolutionopen => fixed
2015-10-05 10:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9dcdf575b6e54e48461f98ff7e9f14b3fbbf72fb [^]
2015-10-05 10:53hgbotCheckin
2015-10-05 10:53hgbotNote Added: 0080813
2015-10-06 08:50hgbotCheckin
2015-10-06 08:50hgbotNote Added: 0080835
2015-10-06 15:05hgbotCheckin
2015-10-06 15:05hgbotNote Added: 0080846
2015-10-14 23:39hgbotCheckin
2015-10-14 23:39hgbotNote Added: 0081027
2015-10-19 07:55mtaalReview Assigned To => migueldejuana
2015-10-19 11:31migueldejuanaNote Added: 0081068
2015-10-19 11:31migueldejuanaStatusresolved => closed
2015-10-19 11:31migueldejuanaFixed in Version => pi
2015-11-13 09:54OrekariaRelationship addedblocks 0031453
2015-11-17 13:45hgbotCheckin
2015-11-17 13:45hgbotNote Added: 0081926
2015-11-17 13:46hgbotCheckin
2015-11-17 13:46hgbotNote Added: 0081927

Notes
(0080811)
hgbot   
2015-10-05 10:52   
Repository: tools/automation/pi-mobile
Changeset: ec06d3919cca5b2774a7cd5b9bb78bc81788cde3
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Oct 01 07:28:00 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/ec06d3919cca5b2774a7cd5b9bb78bc81788cde3 [^]

Related to issue 30997: Remote: saving customer results in error, when saving a customer and linking to a receipt you get error
Added testcase for issue, new customer, assign customer and address to ticket, pay, check backend

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/HighVolSuite.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I30997_NewCustomerForReceipt.java
---
(0080812)
hgbot   
2015-10-05 10:53   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9dcdf575b6e54e48461f98ff7e9f14b3fbbf72fb
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Oct 01 07:23:54 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9dcdf575b6e54e48461f98ff7e9f14b3fbbf72fb [^]

Fixes issue 30997: Remote: saving customer results in error, when saving a customer and linking to a receipt you get error
Fix wrong location of closing tag of function call, correctly save BP and location

---
M web/org.openbravo.retail.posterminal/js/data/datacustomersave.js
---
(0080813)
hgbot   
2015-10-05 10:53   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 68ae25b51eefb61f9430fbbe873dbe069241a818
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Oct 02 12:36:46 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/68ae25b51eefb61f9430fbbe873dbe069241a818 [^]

Related to issue 30997: Remote: saving customer results in error, when saving a customer and linking to a receipt you get error
Also save the address in the BP object

---
M web/org.openbravo.retail.posterminal/js/data/datacustomersave.js
---
(0080835)
hgbot   
2015-10-06 08:50   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5c3f4c625efbee083d042dfabb29c65046791457
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Oct 06 08:50:25 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5c3f4c625efbee083d042dfabb29c65046791457 [^]

Related to issue 30997: Remote: saving customer results in error, when saving a customer and linking to a receipt you get error
Set the address in the BP before the save, this makes sure it works for fast systems/tests

---
M web/org.openbravo.retail.posterminal/js/data/datacustomersave.js
---
(0080846)
hgbot   
2015-10-06 15:05   
Repository: tools/automation/pi-mobile
Changeset: ba9b0f698dbe938e475d819d2e52ded9b56277d2
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Oct 06 15:04:51 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/ba9b0f698dbe938e475d819d2e52ded9b56277d2 [^]

Related to issue 30997: Remote: saving customer results in error, when saving a customer and linking to a receipt you get error
Add different organization to allowed errors

---
M src-test/org/openbravo/test/mobile/common/selenium/utils/AllowedErrorsHelper.java
---
(0081027)
hgbot   
2015-10-14 23:39   
Repository: tools/automation/pi-mobile
Changeset: c5c60c6fb1f9508aafa557601985ac51190080bc
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Oct 14 19:08:44 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c5c60c6fb1f9508aafa557601985ac51190080bc [^]

Related to issue 30997: Remote: saving customer results in error, when saving a customer and linking to
Added a small delay to prevent assign to receipt to be clicked to fast

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I30997_NewCustomerForReceipt.java
---
(0081068)
migueldejuana   
2015-10-19 11:31   
Tested and reviewed in d562c7c609e1
(0081926)
hgbot   
2015-11-17 13:45   
Repository: retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal
Changeset: 28d43caa3d94b41c17d92bf0c512b907c22cbcba
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Oct 02 12:36:46 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/28d43caa3d94b41c17d92bf0c512b907c22cbcba [^]

Related to issue 30997: Remote: saving customer results in error, when saving a customer and linking to a receipt you get error
Also save the address in the BP object

---
M web/org.openbravo.retail.posterminal/js/data/datacustomersave.js
---
(0081927)
hgbot   
2015-11-17 13:46   
Repository: retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal
Changeset: 95ff210983c7280beaf8ef241f170af12b4abaed
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Oct 06 08:50:25 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/95ff210983c7280beaf8ef241f170af12b4abaed [^]

Related to issue 30997: Remote: saving customer results in error, when saving a customer and linking to a receipt you get error
Set the address in the BP before the save, this makes sure it works for fast systems/tests

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