Add Printing Support to ProcessInfoDialog
Description
Environment
Attachments
is caused by
Activity
Documentation Page
https://wiki.idempiere.org/en/NF10_Print_Support_Process_Info_Dialog
use case: 1. open generate shipment (manual) 2. run generate 3. popup - "this.m_logs" is null (this happens only when no shipment generated - eg gardenworld sales order 50001, 50002)
ISSUE: Cannot read the array length because "this.m_logs" is null
tested in version: 10.0.0.202208051127
@Peter Takacs committed PR after some tuning last requested change I assume it is quite simple and powered print feature.
thanks for idea we hope make idempiere more usable.
Norbert

Hi @Norbert Bede ,
Yes, printing should depends solely on whether the linked document is printable.
For feature parity with the legacy generate shipment(manual) form, the minimum is to have a “print all” option (as 1 pdf). I think having a print icon next to each linked document is not a must here.
For print all, not a must to have selection of print format (the legacy form doesn’t provide that).
Selection of print format should follow existing rule.
Regards,
Low
@Heng Sin Low , @Carlos Ruiz i write here some use cases, assumptions, topic to talk, clarify before we start any development
the print can be run from info window process info result and process related not to info window - am I right ?
we assume the process able to generate 1 or N documents
the user should print 1 document with 1 print button 1 or all (1 pdf) documents, another option print each by clicking on “link print icon”
print button open pdf preview, user change/select new print format then run browser/operating system print dialog - the print resolve local printer or IP printer registered on LAN
print format will be loaded according to default from doctype>print format defaults
please provide feedback clarify the goal of this improvment.
Norbert
This issue should complete the migration of Generate Shipments (manual) and Generate Invoices (manual) forms to Info Window, because we lost printing support there.
According to@Heng Sin Low suggestion
For printing of generated documents, one simple to implement alternative is to add printing support to the document link dialog.