Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040190Openbravo ERP03. Procurement managementpublic2019-02-13 15:032019-03-28 14:56
francisco 
markmm82 
highmajoralways
closedfixed 
5
pi 
3.0PR19Q2 
dmiguelez
Core
No
0040190: Not possible to set Attributes opening a BackOffice session from POS
This case is happening when you a open a BackOffice session from the POS. when you try to select an attribute from Goods Receipts, the buttons in the pop up window (OK Cancel) doesn't work
1. Open the POS and from there click in BackOffice
2. Go to Goods receipt window and create a line with a product that has attributes.
3. When you click the Attribute Set value there is a Pop Up window where you can select the attributes for that product.
4. Both buttons (OK, Cancel) are not working.

We found the following error:

AttributeSetInstance.html?Command=DISPLAY:29
Uncaught TypeError: theOpener.closeSearch is not a function
    at printMessage (AttributeSetInstance.html?Command=DISPLAY:29)
    at onload (AttributeSetInstance.html?Command=DISPLAY:94)
printMessage @ AttributeSetInstance.html?Command=DISPLAY:29
onload @ AttributeSetInstance.html?Command=DISPLAY:94
No tags attached.
Issue History
2019-02-13 15:03franciscoNew Issue
2019-02-13 15:03franciscoAssigned To => Triage Finance
2019-02-13 15:03franciscoModules => Core
2019-02-13 15:03franciscoResolution time => 1551826800
2019-02-13 15:03franciscoTriggers an Emergency Pack => No
2019-02-13 15:08franciscoSummaryNot possible to set Atrributtes opening a Backoffice session from POS => Not possible to set Attributes opening a BackOffice session from POS
2019-02-13 15:10franciscoDescription Updatedbug_revision_view_page.php?rev_id=18311#r18311
2019-02-13 15:10franciscoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18313#r18313
2019-03-05 12:39franciscoResolution time1551826800 => 1553554800
2019-03-05 12:39franciscoTypedesign defect => defect
2019-03-06 10:13SandrahuguetAssigned ToTriage Finance => markmm82
2019-03-14 14:18markmm82Statusnew => scheduled
2019-03-14 17:25markmm82Note Added: 0110445
2019-03-15 09:09psanjuanDescription Updatedbug_revision_view_page.php?rev_id=18470#r18470
2019-03-21 18:13hgbotCheckin
2019-03-21 18:13hgbotNote Added: 0110556
2019-03-21 18:13hgbotStatusscheduled => resolved
2019-03-21 18:13hgbotResolutionopen => fixed
2019-03-21 18:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/30c40214364b7dcfd6ac463e6e55023aa9ea02fc [^]
2019-03-21 18:13dmiguelezReview Assigned To => dmiguelez
2019-03-21 18:13dmiguelezNote Added: 0110557
2019-03-21 18:13dmiguelezStatusresolved => closed
2019-03-21 18:13dmiguelezFixed in Version => 3.0PR19Q2
2019-03-28 14:56hudsonbotCheckin
2019-03-28 14:56hudsonbotNote Added: 0110881

Notes
(0110445)
markmm82   
2019-03-14 17:25   
Test Plan 1:
1. Open the POS and from there click in BackOffice
2. Go to Goods receipt window and create a line with a product that has attributes.
3. When you click the Attribute Set value there is a Pop Up window where you can select the attributes for that product.
4. Enter values for different attributes.
5. Press OK button and notice the popup is closed and the Attribute Set Value field is updated.
6. If you open the the Attribute pop up again and press the Cancel button the pop up is closed successfully.

Test Plan 2: Test accessing the Backoffice directly.
Log out and log in for Vallblanca Store (don't enter in the Web POS)
1. Repeat steps 2 to 6 and notice the Attribute Set popup is working correctly when you click in th OK and Cancel buttons.
(0110556)
hgbot   
2019-03-21 18:13   
Repository: erp/devel/pi
Changeset: 30c40214364b7dcfd6ac463e6e55023aa9ea02fc
Author: Mark Molina <mark.molina <at> doceleguas.com>
Date: Thu Mar 14 12:23:44 2019 -0300
URL: http://code.openbravo.com/erp/devel/pi/rev/30c40214364b7dcfd6ac463e6e55023aa9ea02fc [^]

Fixes issue 40190: Not possible to set Attributes opening BackOffice from POS

Was not possible to set Attributes opening a BackOffice session from POS because
an incorrect selection of the opener.

Now to select the opener is asked if it has the closeSearch function registered
and also it is included the getFrame('LayoutMDI').parent object for cases where
is coming from POS

---
M src/org/openbravo/erpCommon/info/AttributeSetInstance.html
---
(0110557)
dmiguelez   
2019-03-21 18:13   
Code Review + Testing Ok
(0110881)
hudsonbot   
2019-03-28 14:56   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b2fbc1588df4 [^]
Maturity status: Test