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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030804
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-09-09 15:592015-10-19 18:32
ReporteraaroncaleroView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in VersionRR15Q4
StatusclosedFix in branchFixed in SCM revision938e86e58134
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Toguilleaer
Regression levelCoding ( Testing )
Regression date2015-07-16
Regression introduced in releasepi
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f829ed7fe8cc [^]
Triggers an Emergency PackNo
Summary

0030804: The sales representative combo on the receipt properties popup is never loaded

DescriptionWhen the Web POS Use Modal instead of dropdown in Sales Reprentative property is set to N (and, until the issue 0030803, the user role is manual), the sales representative selection is done via a combo field.
However this field is never loaded and it is not possible to assign a sales representative to the ticket.
Steps To ReproduceEnsure in backend that the Web POS Use Modal instead of dropdown in Sales Reprentative property is set to N.
Login in web pos with an automatic-role user.
Open the receipt properties popup (Menu > Receipt Properties).
Verify that the sales representative combo is empty.
Verify in local database that the ad_sales_representative table is not empty.

The loadValue() function of the salesRepresentativeBox component (modalreceiptproperties.js file) has been purposedly overrided to prevent data to be loaded.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0030806 closedjorge-garcia The default sales representative is by default the current logged user, even if it not a Sales representative 
related to defect 0032230 closedSandrahuguet [HGVOL] Wrong requests to SalesRepresentative model 

-  Notes
(0080576)
hgbot (developer)
2015-09-23 12:53

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 938e86e58134784639f08e06ac35481d8f09091d
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Sep 23 00:19:19 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/938e86e58134784639f08e06ac35481d8f09091d [^]

Fixes issue 30804: The sales representative combo on the receipt properties popup is never loaded
Load the values when the combo is shown

---
M web/org.openbravo.retail.posterminal/js/components/modalreceiptproperties.js
---
(0080582)
hgbot (developer)
2015-09-23 12:54

Repository: tools/automation/pi-mobile
Changeset: f6898a68253f4b252980884f5fbe8a0d3531b7db
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Sep 23 00:12:20 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/f6898a68253f4b252980884f5fbe8a0d3531b7db [^]

Related to issue 30804, related to issue 30803: The sales representative combo on the receipt properties popup is never loaded
Added test for showing modal and combo and setting sales rep

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/EnyoNode.java
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/I30804_SetSalesRepCombo.java
---
(0080584)
hgbot (developer)
2015-09-23 12:54

Repository: tools/automation/pi-mobile
Changeset: d99250add999dc8e8b1b93cd5932ef6c7fc7678d
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Sep 23 00:35:19 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/d99250add999dc8e8b1b93cd5932ef6c7fc7678d [^]

Related to issue 30804, related to issue 30803: The sales representative combo on the receipt properties popup is never loaded
Remove system.err, check import entries

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/I30804_SetSalesRepCombo.java
---
(0080586)
hgbot (developer)
2015-09-23 12:54

Repository: tools/automation/pi-mobile
Changeset: 705f14a67f202ff9dafd5666888a082df86d52c3
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Sep 23 07:24:14 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/705f14a67f202ff9dafd5666888a082df86d52c3 [^]

Related to issue 30804, related to issue 30803: The sales representative combo on the receipt properties popup is never loaded
Moved test, changes to handle oracle, adapted rejectquotations to handle returned value from getcontent

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/RejectQuotations.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I30804_SetSalesRepCombo.java
R src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/I30804_SetSalesRepCombo.java
---
(0080588)
hgbot (developer)
2015-09-23 12:54

Repository: tools/automation/pi-mobile
Changeset: 48807c49debff424da91cd61ee04e6be04530b39
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Sep 23 10:32:24 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/48807c49debff424da91cd61ee04e6be04530b39 [^]

Related to issue 30804, related to issue 30803: The sales representative combo on the receipt properties popup is never loaded
Change as for combos the value is returned not the label text

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/RejectQuotations.java
---
(0080683)
guilleaer (manager)
2015-09-29 09:15

code reviewed and tested

- Issue History
Date Modified Username Field Change
2015-09-09 15:59 aaroncalero New Issue
2015-09-09 15:59 aaroncalero Assigned To => Retail
2015-09-09 15:59 aaroncalero Triggers an Emergency Pack => No
2015-09-15 11:54 aaroncalero Regression level => Coding ( Testing )
2015-09-15 11:54 aaroncalero Regression date => 2015-07-16
2015-09-15 11:54 aaroncalero Regression introduced in release => pi
2015-09-15 11:54 aaroncalero Regression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f829ed7fe8cc [^]
2015-09-16 10:38 guillermogil Resolution time => 1442872800
2015-09-21 23:45 mtaal Assigned To Retail => mtaal
2015-09-23 12:53 hgbot Checkin
2015-09-23 12:53 hgbot Note Added: 0080576
2015-09-23 12:53 hgbot Status new => resolved
2015-09-23 12:53 hgbot Resolution open => fixed
2015-09-23 12:53 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/938e86e58134784639f08e06ac35481d8f09091d [^]
2015-09-23 12:54 hgbot Checkin
2015-09-23 12:54 hgbot Note Added: 0080582
2015-09-23 12:54 hgbot Checkin
2015-09-23 12:54 hgbot Note Added: 0080584
2015-09-23 12:54 hgbot Checkin
2015-09-23 12:54 hgbot Note Added: 0080586
2015-09-23 12:54 hgbot Checkin
2015-09-23 12:54 hgbot Note Added: 0080588
2015-09-25 11:07 Orekaria Review Assigned To => guilleaer
2015-09-29 09:15 guilleaer Note Added: 0080683
2015-09-29 09:15 guilleaer Status resolved => closed
2015-09-29 09:15 guilleaer Fixed in Version => RR15Q4
2015-10-19 18:32 Orekaria Relationship added related to 0030806
2016-02-15 13:22 Sandrahuguet Relationship added related to 0032230


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker