How to fetch Sales invoice number in delivery note print format

Please respond with thought (response with jinja code is better).
Is it possible to fetch Sales invoice number inside delivery note print format?
If yes, please share the corresponding jinja template.

Also, you may ask me that by the time your delivery note is generated sales invoice number is not generated. Then how is it possible to fetch sales invoice number inside delivery note print format?

But, that’s fine. I don’t need it immediately. What i do is, I submit delivery note and will not take delivery note print immediately. Next , I will make sales invoice. Now, again i will go back to delivery note list and try to fetch sales invoice number inside the delivery note print .

Thanks in advance.

  • Go to customise form and choose delivery note.
  • Click on a field next to where you want the field to be.
  • On the popup, Choose Add above
  • On the new form
    ** Add a label “Invoice”
    ** Select Type as “Link”
    ** In the Options field, Type “Sales Invoice”
1 Like

Let’s prosper together with free and opensource.
Thanks for your prompt reply.

1 Like