From ee8034f4a52433ccaa45adae0802f2b2a1b28c38 Mon Sep 17 00:00:00 2001 From: eLBati Date: Sat, 1 Dec 2018 10:26:02 +0100 Subject: [PATCH] FIX l10n_it_fatturapa_in when writing attachment name without file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Steps: 1 - Accounting → Purchases → Incoming E-Bill Files 2 - Click on Create 3 - Fill in Attachment Name 4 - Click Save File "/home/odoo/build/OCA/l10n-italy/l10n_it_fatturapa/models/ir_attachment.py", line 117, in get_xml_string if fatturapa_attachment.datas_fname.lower().endswith('.p7m'): AttributeError: 'bool' object has no attribute 'lower' --- l10n_it_fatturapa_in/views/account_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10n_it_fatturapa_in/views/account_view.xml b/l10n_it_fatturapa_in/views/account_view.xml index 20b1798d68e2..b484e947de0e 100644 --- a/l10n_it_fatturapa_in/views/account_view.xml +++ b/l10n_it_fatturapa_in/views/account_view.xml @@ -17,7 +17,7 @@ attrs="{'invisible': [('id', '=', False)]}"/> - +