Skip to content

Commit 6df6ca1

Browse files
committed
[FIX]estate: fixed style
1 parent ba21775 commit 6df6ca1

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

estate/__init__.py

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

33

4-
from odoo import api, SUPERUSER_ID
4+
from odoo import api, SUPERUSER_ID

estate/models/__init__.py

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

estate/models/estate_proprety.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,21 @@ class EstateProprety(models.Model):
44
_name = "estate.proprety"
55
_description = "Estate Proprety"
66

7+
78
name = fields.Char('Estate Name', required=True)
89
description = fields.Text('Estate Description', required=True)
910
postcode = fields.Char('Estate Postcode', required=True)
1011
date_availablity = fields.Date('Estate Availability Date', required=True)
1112
expected_price = fields.Float('Estate expected price', required=True)
1213
selling_price = fields.Float('Estate selling price', required=True)
13-
bedrooms = fields.Integer('Number of bedrooms',required=True)
14+
bedrooms = fields.Integer('Number of bedrooms', required=True)
1415
facades = fields.Integer('Number of facades')
1516
garage = fields.Boolean('Has a garage ?')
1617
garden = fields.Boolean('Has a garden ?')
1718
garden_area = fields.Integer('Garden area')
1819
garden_orientation = fields.Selection(
1920
string='Type',
20-
selection=[('north','North'),('south','South'),('west','West'),('east','East')],
21+
selection=[('north', 'North'), ('south', 'South'), ('west', 'West'), ('east', 'East')],
2122
help="Garden orientation selection"
22-
)
23+
)
24+

0 commit comments

Comments
 (0)