This commit is contained in:
gsinghpal
2026-04-20 01:16:12 -04:00
parent 8217bb0ff6
commit 54e56ed0e6
39 changed files with 5600 additions and 1131 deletions

View File

@@ -588,6 +588,21 @@
</div>
</div>
<!-- Process Steps — only the customer-visible recipe nodes
(recipe author marked customer_visible=True). -->
<t t-set="visible_steps" t-value="job.sudo().get_customer_visible_steps()"/>
<div class="mb-4" t-if="visible_steps">
<h6 class="text-muted small text-uppercase">Process Steps</h6>
<ol class="list-group list-group-numbered">
<li t-foreach="visible_steps" t-as="step"
class="list-group-item d-flex align-items-center"
t-attf-style="padding-left: #{ 12 + (step['depth'] * 18) }px;">
<i t-attf-class="fa #{ step['icon'] } me-2 text-muted"/>
<span t-out="step['name']"/>
</li>
</ol>
</div>
<div class="mb-4">
<h6 class="text-muted small text-uppercase">Documents</h6>
<div class="list-group">