fix problem at printout with earliest_schedule_date if there are only 'service'-items (no delivery)
parent
e5830f82d8
commit
eb13ac50bf
|
|
@ -103,8 +103,14 @@
|
|||
<strong>
|
||||
<span class="col-xs-8" style="padding: 0px;width: 58%;font-size:12px;padding-top: 3px;">Lieferdatum ab Werk:</span>
|
||||
</strong>
|
||||
<span class="col-xs-4" style="padding: 0px;width: 42%;" t-field="o.earliest_scheduled_date"
|
||||
t-options='{"widget": "date"}'/>
|
||||
<t t-if="o.earliest_scheduled_date">
|
||||
<span class="col-xs-4" style="padding: 0px;width: 42%;" t-field="o.earliest_scheduled_date"
|
||||
t-options='{"widget": "date"}'/>
|
||||
</t>
|
||||
<t t-else="">
|
||||
<span class="col-xs-4" style="padding: 0px;width: 42%;" t-field="o.delivery_date"
|
||||
t-options='{"widget": "date"}'/>
|
||||
</t>
|
||||
</t>
|
||||
<t t-if="o.state in ['draft','sent'] and o.validity_date">
|
||||
<strong>
|
||||
|
|
|
|||
Loading…
Reference in New Issue