Skip to content

Commit ee173b0

Browse files
committed
[LINT] estate: format file of estate module to remove linting issues.
Previewsly made pull request could not pass bcause of the linting issues.
1 parent 4a9c637 commit ee173b0

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

estate/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
from . import models
1+
from . import models

estate/__manifest__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@
1313
'views/estate_menus.xml',
1414

1515
'security/ir.model.access.csv',
16-
]
17-
}
16+
],
17+
'author': 'Odoo S.A.',
18+
'license': 'LGPL-3',
19+
}

estate/models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from . import estate_property_type
22
from . import estate_property_tag
33
from . import estate_property_offer
4-
from . import estate_property
4+
from . import estate_property

estate/models/estate_property_offer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from odoo import api, fields, models
22
from dateutil.relativedelta import relativedelta
33

4+
45
class EstatePropertyOffer(models.Model):
56
_name = "estate.property.offer"
67
_description = "A property offer"
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
from odoo import fields, models
22

3+
34
class EstatePropertyTag(models.Model):
45
_name = "estate.property.tag"
56
_description = "A property tag"
67

7-
name = fields.Char('Property tag', required=True)
8+
name = fields.Char('Property tag', required=True)
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
from odoo import fields, models
22

3+
34
class EstatePropertyType(models.Model):
45
_name = "estate.property.type"
56
_description = "A property type is, for example, a house or an apartment. It is a standard business need to categorize properties according to their type, especially to refine filtering."
67

7-
name = fields.Char('Property type', required=True)
8+
name = fields.Char('Property type', required=True)

0 commit comments

Comments
 (0)