bemade_fsm: fix h1 section in work order report
This commit is contained in:
parent
83f31d31c5
commit
6684a95791
1 changed files with 10 additions and 3 deletions
|
|
@ -219,8 +219,15 @@
|
|||
</template>
|
||||
<template id="workorder_page_info_block">
|
||||
<h1>
|
||||
<span name="planned_date_begin" t-out="doc.planned_date_begin"/> -
|
||||
<span name="work_order_number" t-out="doc.work_order_number"/> -
|
||||
<span t-if="planned_date_begin"
|
||||
name="planned_date_begin"
|
||||
t-out="doc.planned_date_begin.strftime('%Y-%m-%d')"
|
||||
/>
|
||||
<span t-else=""
|
||||
name="date_now"
|
||||
t-out="time.strftime('%Y-%m-%d')"
|
||||
/>-
|
||||
<span name="work_order_number" t-out="doc.work_order_number"/>
|
||||
</h1>
|
||||
<div class="row">
|
||||
<div t-attf-class="{{'col-6' if report_type == 'pdf' else 'col-md-6 col-12'}}">
|
||||
|
|
@ -385,4 +392,4 @@
|
|||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</odoo>
|
||||
</odoo>
|
||||
|
|
|
|||
Loading…
Reference in a new issue