Skip to content

Commit

Permalink
Merge pull request #13 from vauxoo-dev/master-oca-small-fixes
Browse files Browse the repository at this point in the history
[FIX] Change _fields by _columns
  • Loading branch information
dreispt committed Nov 2, 2015
2 parents d11d7a3 + e00959f commit b31e603
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pylint_odoo/checkers/no_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
'Other OSI approved licence', 'Other proprietary',
]
DFTL_ATTRIBUTE_DEPRECATED = [
'_fields', '_defaults',
'_columns', '_defaults',
]
DFTL_METHOD_REQUIRED_SUPER = [
'create', 'write', 'read', 'unlink', 'copy',
Expand Down
2 changes: 1 addition & 1 deletion pylint_odoo/test_repo/broken_module/models/broken_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def function_no_method():
class TestModel(models.Model):
_name = 'test.model'

_fields = {} # deprecated fields
_columns = {} # deprecated columns
_defaults = {} # deprecated defaults

name = fields.Char(
Expand Down

0 comments on commit b31e603

Please sign in to comment.