diff --git a/l10n_br_account/models/account_incoterms.py b/l10n_br_account/models/account_incoterms.py index 9fff194cea9c..66c903419c6b 100644 --- a/l10n_br_account/models/account_incoterms.py +++ b/l10n_br_account/models/account_incoterms.py @@ -6,7 +6,7 @@ class AccountIncoterms(models.Model): - _inherit = 'account.incoterms' + _inherit = "account.incoterms" @api.multi def name_get(self): @@ -22,9 +22,6 @@ def name_get(self): # visualização, ao clicar em Pesquisar é mostrado o # name completo if len(record.name) > 150: - name = record.name[:150] + ' ...' - result.append(( - record.id, '%s - %s' % ( - record.code, name) - )) + name = record.name[:150] + " ..." + result.append((record.id, "%s - %s" % (record.code, name))) return result diff --git a/l10n_br_account/models/account_invoice.py b/l10n_br_account/models/account_invoice.py index 779e9469bba9..ffb6d3f3099e 100644 --- a/l10n_br_account/models/account_invoice.py +++ b/l10n_br_account/models/account_invoice.py @@ -37,11 +37,11 @@ } SHADOWED_FIELDS = [ - 'partner_id', - 'company_id', - 'currency_id', - 'partner_shipping_id', - 'incoterm_id', + "partner_id", + "company_id", + "currency_id", + "partner_shipping_id", + "incoterm_id", ]