I want to create a print format on the doctype name "Delivery Note " . In this i want to get the columns form the doctype named “Quality Inspection” in the jinja format .how to get the columns because their is no link between this doctype .
If In Item master, Quality inspection required before Delivery check box is checked then when you create a delivery note then before submit a delivery note you have to create a quality inspection and that quality inspection no is set in delivery note items table. you can easily get quality inspection using
{% for row in doc.items %}
{{ row.quality_inspection}}
{% endfor %}
If you have same requirement as mentioned in this topic, then you can use it.
If not, you can share your doubts,someone who knows the solutions will give reply to you.