Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032491Openbravo ERPB. User interfacepublic2016-03-16 11:212016-03-21 14:02
JONHM 
alostale 
immediatemajoralways
closedfixed 
5
 
3.0PR16Q23.0PR16Q2 
caristu
Core
No
0032491: Lines information lost after printing record in Sales Order with filter applied
Lines information lost after printing record in Sales Order while grid filtering critery is not matched
1) Access Sales Order window and apply filter Organization to "F&B España - Región Sur"
2) Create a new record in form view having organization "F&B España - Región Norte" and create some product line
3) Click the print record button and choose the "No, Just Print It" button

Result: Previous filter have been applied and it shows only the sales order record in form mode but not the lines.
No tags attached.
related to defect 0032508 acknowledged Triage Platform Base Attachments counter is not refreshed the first time a record is printed and attached 
causes defect 0034485 closed caristu Record marked as changed after clicking on the print button in grid view 
Issue History
2016-03-16 11:21JONHMNew Issue
2016-03-16 11:21JONHMAssigned To => platform
2016-03-16 11:21JONHMModules => Core
2016-03-16 11:21JONHMResolution time => 1458342000
2016-03-16 11:21JONHMTriggers an Emergency Pack => No
2016-03-18 10:34alostaleAssigned Toplatform => alostale
2016-03-18 10:35alostaleReview Assigned To => caristu
2016-03-18 11:10hgbotCheckin
2016-03-18 11:10hgbotNote Added: 0085221
2016-03-18 11:10hgbotStatusnew => resolved
2016-03-18 11:10hgbotResolutionopen => fixed
2016-03-18 11:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a160b826335735b762cb0a8cbfb81c40a71383fe [^]
2016-03-18 13:24caristuNote Added: 0085223
2016-03-18 13:24caristuStatusresolved => closed
2016-03-18 13:24caristuFixed in Version => 3.0PR16Q2
2016-03-18 13:38caristuRelationship addedrelated to 0032508
2016-03-21 14:02hudsonbotCheckin
2016-03-21 14:02hudsonbotNote Added: 0085249
2016-11-14 12:06caristuRelationship addedcauses 0034485

Notes
(0085221)
hgbot   
2016-03-18 11:10   
Repository: erp/devel/pi
Changeset: a160b826335735b762cb0a8cbfb81c40a71383fe
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Mar 18 11:09:24 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a160b826335735b762cb0a8cbfb81c40a71383fe [^]

fixed bug 32491: lines removed after printing header with a non-matching filter

  After printing a document that does not match grid's current filter, its lines
  were removed from grid.

  After printing a refresh is done, the problem is the refresh was done not for
  the current printed record but for the whole grid, being discarded current if
  not matching filter crieria.

  Now in case a single record is selected, it is refreshed only this one regardless
  applied filtering criteria.

---
M src/org/openbravo/erpCommon/utility/reporting/printing/PrintOptions.html
---
(0085223)
caristu   
2016-03-18 13:24   
Code review + testing OK.

The created record is not lost when switching between grid/form view after printing it.
Working fine also having 'Attach by Default' and 'Direct Print' preferences.
(0085249)
hudsonbot   
2016-03-21 14:02   
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/ee80ac4a1a50 [^]
Maturity status: Test