mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Fix t-value when language is False
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
<template id="sepa_direct_debit_mandate_document">
|
||||
<t t-set="doc" t-value="doc.with_context({'lang':doc.partner_id.lang})" />
|
||||
<t t-set="is_not_english" t-value="doc.partner_id.lang[:2] != 'en'" />
|
||||
<t t-set="is_not_english" t-value="doc.partner_id.lang and doc.partner_id.lang[:2] != 'en'" />
|
||||
<div class="page">
|
||||
<style type="text/css">
|
||||
h4 {
|
||||
|
||||
Reference in New Issue
Block a user