fix invoice-printout if there is no editor_id

develop
Andreas Osim 2023-07-06 13:42:39 +02:00
parent c450e7ed7d
commit 32a5252ae1
1 changed files with 8 additions and 1 deletions

View File

@ -59,7 +59,14 @@
<strong>
<span class="col-xs-2">Contact Person:</span>
</strong>
<span class="col-xs-3" t-field="o.editor_id"/>
<!-- <span class="col-xs-3" t-field="o.editor_id"/> -->
<span t-if="o.editor_id">
<span class="col-xs-3" t-field="o.editor_id"/>
</span>
<span t-else="">
<span class="col-xs-3" t-field="o.user_id"/>
</span>
<strong>
<span class="col-xs-2">Positions:</span>
</strong>