feat(plating): Sub 4 — Check All / Clear All buttons + fix QA-005 PDF logo render
- New bulk-toggle actions on fp.contract.review flip all 10 checklist items in Section 2.0 (and all 11 in Section 3.0) in one click. Rendered as "Check All" / "Clear All" buttons above each checklist. User can still tick boxes individually. Buttons hide once the section is signed (locked). - Fix QA-005 PDF: replaced `to_text(...)` (not in QWeb context) with `image_data_uri(...)` for the company logo embed. PDF now renders with the full colour ENTECH logo (render size 103 KB). - Smoke test extended: 5 new assertions covering bulk-toggle on/off and locked-section guard. 17/17 pass on entech. fusion_plating_quality → 19.0.2.1.0 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
<div class="qa005-title-row">
|
||||
<div class="qa005-title-logo">
|
||||
<img t-if="doc.company_id.logo"
|
||||
t-att-src="'data:image/png;base64,%s' % to_text(doc.company_id.logo)"
|
||||
t-att-src="image_data_uri(doc.company_id.logo)"
|
||||
style="max-height: 45pt; max-width: 100%;"/>
|
||||
</div>
|
||||
<div class="qa005-title-center">
|
||||
|
||||
Reference in New Issue
Block a user