Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027808Retail ModulesLayaway orderpublic2014-10-09 10:272015-01-30 17:14
sureshbabu 
migueldejuana 
urgentmajoralways
closedfixed 
5
 
RR14Q4RR14Q4 
migueldejuana
Production - QA Approved
2014-06-10
RR14Q3
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d6523278b94a [^]
No
0027808: At webpos, when i login both Business partner and Business partner address details shown as blank and also warning message appea
At webpos, when i login both Business partner and Business partner address details shown as blank and also warning message appears in the webpos screen
At webpos, when i login both Business partner and Business partner address details shown as blank and also warning message appea


At webpos, when i login both Business partner and Business partner address details shown as blank and also warning message appears in the webpos screen


1) From ERP, navigate to "POS terminal Type" window, and select Terminal "VBS POS Terminal Type" and select the option "Generate invoice for orders"

2) Navigate to BP window and select BP "VBS customer" and assign Tax id "12345"

3) Then navigate to POS terminal window and select terminal "VBS POS terminal" and set

Default Customer: VBS CUSTOMER
Default Customer Address:.Barcelona, Pau Claris 138 1-1

4) Then login to webpos terminal "VBS POS Terminal" and verify the BP details


Defect: In webpos, both BP name and address field shown as blank and also one can find warning message appears in the screen

Note: Refer the screen shot for details.
No tags attached.
related to backport 0027431 closed Retail Sometimes the business partner is empty when the WebPOS loads 
png when i login both Bussiness partner and Bussiness partner address details shown as blank and also warning message appears.png (211,935) 2014-10-09 10:27
https://issues.openbravo.com/file_download.php?file_id=7327&type=bug
png
Issue History
2014-10-09 10:27sureshbabuNew Issue
2014-10-09 10:27sureshbabuAssigned To => migueldejuana
2014-10-09 10:27sureshbabuFile Added: when i login both Bussiness partner and Bussiness partner address details shown as blank and also warning message appears.png
2014-10-09 10:27sureshbabuRegression level => QA functional test
2014-10-09 10:27sureshbabuTriggers an Emergency Pack => No
2014-10-16 09:14sureshbabuNote Added: 0070979
2014-10-16 13:31hgbotCheckin
2014-10-16 13:31hgbotNote Added: 0070990
2014-10-16 13:31hgbotStatusnew => resolved
2014-10-16 13:31hgbotResolutionopen => fixed
2014-10-16 13:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0710bee1ae9c450a94893d1bdb396b214259c48e [^]
2014-10-16 13:39hgbotCheckin
2014-10-16 13:39hgbotNote Added: 0070991
2014-10-16 13:39hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0710bee1ae9c450a94893d1bdb396b214259c48e [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/806f19864ecd02e1663fcd8afa5d5d30872caf55 [^]
2014-10-17 09:44malsasuaStatusresolved => new
2014-10-17 09:44malsasuaResolutionfixed => open
2014-10-17 09:45malsasuaRegression levelQA functional test => Production - QA Approved
2014-10-17 09:45malsasuaRegression date => 2014-06-10
2014-10-17 09:45malsasuaRegression introduced in release => RR14Q3
2014-10-17 09:45malsasuaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d6523278b94a [^]
2014-10-17 09:45malsasuaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6833#r6833
2014-10-17 09:45malsasuaStatusnew => scheduled
2014-10-17 09:45malsasuafix_in_branch => pi
2014-10-17 09:45malsasuaStatusscheduled => resolved
2014-10-17 09:45malsasuaResolutionopen => fixed
2014-10-17 12:55migueldejuanaReview Assigned To => migueldejuana
2014-10-17 12:55migueldejuanaNote Added: 0071023
2014-10-17 12:55migueldejuanaStatusresolved => closed
2014-10-17 12:55migueldejuanaFixed in Version => RR14Q4
2014-11-11 18:15OrekariaRelationship addedrelated to 0027431
2015-01-30 17:14hgbotCheckin
2015-01-30 17:14hgbotNote Added: 0073958

Notes
(0070979)
sureshbabu   
2014-10-16 09:14   
Now i can able to reproduce in RR14Q3.1 test instance also,
(0070990)
hgbot   
2014-10-16 13:31   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 0710bee1ae9c450a94893d1bdb396b214259c48e
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Thu Oct 16 13:31:11 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0710bee1ae9c450a94893d1bdb396b214259c48e [^]

fixed issue 27808:business partner was not loaded in receipt

it was generated because when a new BP is selected, clearWith method is called, then an event calls to receiptToInvoice or cancelReceiptToInvoice methods, and these methods call to saveCurrent method, and it calls to clearWith method again.

Has been removed the called to saveCurrent method in receiptToInvoice and cancelReceiptToInvoice, because it is not needed

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---
(0070991)
hgbot   
2014-10-16 13:39   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 806f19864ecd02e1663fcd8afa5d5d30872caf55
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Thu Oct 16 13:39:10 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/806f19864ecd02e1663fcd8afa5d5d30872caf55 [^]

fixed issue 27808:business partner is not loaded in receipt

when receipt is changed, then the receipt is cloned. The clone method, when the object that the method is updating, has not got a property, and this propery is included in the object to clone, the property is set with a void object and after that, the property is set with the property of object to clone.
In this case, the bp is set with void object, then the events are triggered with a void bp and behavior is wrong.

The set with void property is not needed, and it has been removed.

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0071023)
migueldejuana   
2014-10-17 12:55   
Tested and reviewed in 70480990f519
(0073958)
hgbot   
2015-01-30 17:14   
Repository: tools/automation/pi-mobile
Changeset: ac9b57c6c5b3c26bcc99798b75e5fc63eaa111b6
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Jan 30 16:33:02 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/ac9b57c6c5b3c26bcc99798b75e5fc63eaa111b6 [^]

Related to issue 27808: Added the 'I27808_BusinessPartnerBlank' test

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/SystemSuite.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I27808_BusinessPartnerBlank.java
---