How to add a block depending on the type of the report. Using a conditional in the layout template breaks as it has no such attribute:
external_layout..xml
<span t-if="stock.report_delivery.document">
<p>some</p>
</span>
What is the right way to do this, and how can i use t-if conditionals to check the report called, accounting, sales, stock.. etc..