Skip to content

Commit

Permalink
[FIX] Pre commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbcosta authored and rvalyi committed May 25, 2024
1 parent 7c7a4b1 commit a06ad8e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
9 changes: 3 additions & 6 deletions l10n_br_account/models/account_incoterms.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class AccountIncoterms(models.Model):
_inherit = 'account.incoterms'
_inherit = "account.incoterms"

@api.multi
def name_get(self):
Expand All @@ -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
10 changes: 5 additions & 5 deletions l10n_br_account/models/account_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]


Expand Down

0 comments on commit a06ad8e

Please sign in to comment.