Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020872Openbravo ERPA. Platformpublic2012-06-26 13:422012-09-26 17:18
0020872: Bad behaviour when using context menu in child tabs
Bad behaviour when using contextual menu in child tabs. When you create the header of a sales order, for example, and then you change the price list, for example, so the status of the header is "editing" and you move to lines clicking the right button of the mouse (context menu)the system gets crashed and the header does not get saved, the price list value gets back to the original and the line disappears

see attach
1. Go to sales order window
2. Click new and fill the mandatory fields. Save
3. Change the price list and don't save
4. Move to lines tabby clicking the blank space with the right button of the mouse
5. It gets opened the context menu. Click insert row
6. Notice the header didn't get saved and the status is still "Editing". This is wrong
7. Notice the product cannot be selected. This is wrong
No tags attached.
has duplicate defect 00216353.0MP17 closed AugustoMauch Auto save triggered unintentionally 
jpg sales_order_editing.JPG (157,480) 2012-06-26 13:42
Issue History
2012-06-26 13:42psarobeNew Issue
2012-06-26 13:42psarobeAssigned To => alostale
2012-06-26 13:42psarobeModules => Core
2012-06-26 13:42psarobeFile Added: sales_order_editing.JPG
2012-06-26 13:42psarobeDescription Updatedbug_revision_view_page.php?rev_id=3574#r3574
2012-06-26 17:33alostaleNote Added: 0050103
2012-06-26 17:33alostalePriorityimmediate => urgent
2012-06-26 17:50alostaleTarget Version3.0MP13 => 3.0MP14
2012-07-23 15:54alostaleTarget Version3.0MP14 =>
2012-08-09 13:48AugustoMauchAssigned Toalostale => AugustoMauch
2012-09-07 11:09AugustoMauchClosed by => guilleaer
2012-09-07 11:16hgbotCheckin
2012-09-07 11:16hgbotNote Added: 0051917
2012-09-07 11:16hgbotStatusnew => resolved
2012-09-07 11:16hgbotResolutionopen => fixed
2012-09-07 11:16hgbotFixed in SCM revision => [^]
2012-09-13 09:59AugustoMauchRelationship addedhas duplicate 0021635
2012-09-24 20:13guilleaerNote Added: 0052376
2012-09-24 20:13guilleaerStatusresolved => closed
2012-09-24 20:13guilleaerFixed in Version => 3.0MP15
2012-09-26 17:18hudsonbotCheckin
2012-09-26 17:18hudsonbotNote Added: 0052704

2012-06-26 17:33   
Downgrading priority as it is not a regression: tested in mp6.1
2012-09-07 11:16   
Repository: erp/devel/pi
Changeset: df2620bbba16e462319c7663d4ef4b4652e48f89
Author: Augusto Mauch <augusto.mauch <at>>
Date: Fri Sep 07 11:11:35 2012 +0200
URL: [^]

Fixes issue 20872: Context menu works even if focus in another tab

The root cause of this issue was that if the user opened the context menu in a view when the focus was in another view, the tab were the action was going to take place was not set as active.

M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
2012-09-24 20:13   
code reviewed and tested in pi@4c4431d17dbd
2012-09-26 17:18   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: [^]

Maturity status: Test