Skip to content

Commit

Permalink
Fix errors raised by test_pylint, according to OCA/maintainer-quality…
Browse files Browse the repository at this point in the history
  • Loading branch information
tafaRU committed Apr 23, 2021
1 parent 1d1d0f2 commit 74b5bdd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions l10n_it_split_payment/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# -*- coding: utf-8 -*-

from . import models
3 changes: 2 additions & 1 deletion l10n_it_split_payment/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@
'version': '8.0.1.0.0',
'category': 'Localization/Italy',
'summary': 'Split Payment',
'author': 'Abstract',
'author': 'Abstract, Odoo Community Association (OCA)',
'website': 'http://www.abstract.it',
'license': 'AGPL-3',
'depends': [
'account'],
'data': [
Expand Down
2 changes: 2 additions & 0 deletions l10n_it_split_payment/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# -*- coding: utf-8 -*-

from . import account
from . import config
4 changes: 2 additions & 2 deletions l10n_it_split_payment/models/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from openerp import models, fields


class res_company(models.Model):
class ResCompany(models.Model):
_inherit = 'res.company'
sp_account_id = fields.Many2one(
'account.account',
Expand All @@ -35,7 +35,7 @@ class res_company(models.Model):
help='Journal used to write off the VAT amount')


class account_config_settings(models.TransientModel):
class AccountConfigSettings(models.TransientModel):
_inherit = 'account.config.settings'

sp_account_id = fields.Many2one(
Expand Down

0 comments on commit 74b5bdd

Please sign in to comment.