Display linked SalesOrder and Quotation on invoice print

Hello everyone and thank you for reading my post !
I would like to display linked SalesOrder and Quotation on invoice print.

No one has clearly answered this question and I think this is an essential aspect of the application for everybody :smiley:

Help me please !

You will have to create custom fields for the same in the invoice and while creating a new print format, fetch these fields too.

Hope this helps.

Thanks you for your help @michelle

It works !
The solution is : create a same new field in Doctype SalesOrder and Sales Invoice named prevdoc_docname (Quotation in Options)