Skip to content

Commit 6f6f123

Browse files
committed
[LINT] estate: fixing linter issues
1 parent 84d2ff3 commit 6f6f123

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
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: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
# -*- coding: utf-8 -*-
21
{
32
'name': "estate",
43

5-
'author': "Faruk",
64
'website': "",
75
'category': 'Tutorials',
86
'version': '0.1',
97
'application': True,
108
'installable': True,
11-
'application': True,
129
'depends': ['base'],
13-
1410
'data': [
1511
'security/ir.model.access.csv'
1612
],
1713
'assets': {},
14+
'author': 'Odoo S.A.',
15+
'license': 'LGPL-3',
1816
}

estate/models/estate_property.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
from odoo import fields, models
2+
3+
24
class EstateProperty(models.Model):
35
_name = "estate_property"
46
_description = "Estate Property"
5-
name = fields.Char(required = True)
7+
name = fields.Char(required=True)
68
description = fields.Text()
79
postcode = fields.Char()
810
date_availability = fields.Date()
9-
expected_price = fields.Float(required = True)
11+
expected_price = fields.Float(required=True)
1012
selling_price = fields.Float()
1113
bedrooms = fields.Integer()
1214
living_area = fields.Integer()
1315
facades = fields.Integer()
1416
garage = fields.Boolean()
1517
garden = fields.Boolean()
1618
garden_area = fields.Integer()
17-
garden_orientation = fields.Selection(string="Orientation", selection = [("North", "North"), ("South", "South"), ("East", "East"), ("West", "West")])
19+
garden_orientation = fields.Selection(string="Orientation", selection=[("North", "North"), ("South", "South"), ("East", "East"), ("West", "West")])

0 commit comments

Comments
 (0)