Skip to content
Snippets Groups Projects
Commit 1c81775f authored by Gauthier Wala (gawa)'s avatar Gauthier Wala (gawa)
Browse files

[REV] l10n_de: remove l10n_de_document_title field from template"


This reverts commit 95468505.

The commits break the preview, as docs is not defined in preview (while done in real printing).
Not sure what we will do, with a check on the presence of the field or not, as it was working fine before, only a wrong modification of a view made it visible.
Linked to runbot error 24276

closes odoo/odoo#132941

X-original-commit: e23ff200
Signed-off-by: default avatarFlorian Gilbert (flg) <flg@odoo.com>
Signed-off-by: default avatarWala Gauthier (gawa) <gawa@odoo.com>
parent 64bb4346
No related branches found
No related tags found
No related merge requests found
......@@ -100,9 +100,12 @@
</tr>
</table>
<h2>
<t t-set="o" t-value="docs[0]" t-if="not o" />
<span t-if="'l10n_de_document_title' in o"><t t-esc="o.l10n_de_document_title"/></span>
<span t-elif="'name' in o" t-field="o.name"/>
<span t-if="not o and not docs"><t t-esc="company.l10n_de_document_title"/></span>
<span t-else="">
<t t-set="o" t-value="docs[0]" t-if="not o" />
<span t-if="'l10n_de_document_title' in o"><t t-esc="o.l10n_de_document_title"/></span>
<span t-elif="'name' in o" t-field="o.name"/>
</span>
</h2>
<t t-out="0"/>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment