@@ -11,30 +11,27 @@ class EstateProperty(models.Model):
11
11
name = fields .Char (string = 'Estate Property Name' , required = True )
12
12
description = fields .Text (string = 'Estate Property Description' )
13
13
postcode = fields .Char (string = 'Estate Property Postcode' )
14
- date_availability = fields .Date (string = 'Estate Property Date Availability' ,
15
- copy = False , default = lambda self : datetime .now () + timedelta (days = 90 ))
16
- expected_price = fields .Float (
17
- string = 'Expected Price Of Property' , required = True )
18
- selling_price = fields .Float (
19
- string = 'Selling Price of Property' , readonly = True , copy = False )
20
- bedrooms = fields .Integer (
21
- string = 'Number of Bedrooms in Property' , default = 2 )
14
+ date_availability = fields .Date (string = 'Estate Property Date Availability' , copy = False , default = lambda self : datetime .now () + timedelta (days = 90 ))
15
+ expected_price = fields .Float (string = 'Expected Price Of Property' , required = True )
16
+ selling_price = fields .Float (string = 'Selling Price of Property' , readonly = True , copy = False )
17
+ bedrooms = fields .Integer (string = 'Number of Bedrooms in Property' , default = 2 )
22
18
living_area = fields .Integer (string = 'Number of Living Room in Property' )
23
19
facades = fields .Integer (string = 'Number of Facades in Property' )
24
20
garage = fields .Boolean (string = 'Property have garage or not' )
25
21
garden = fields .Boolean (string = 'Property have Garden or not' )
26
22
garden_area = fields .Integer (string = 'Number of Garden Area' )
27
23
garden_orientation = fields .Selection (
28
24
string = 'Orientation of Garden' ,
29
- selection = [('north' , 'North' ), ('south' , 'Sou hhjghjth' ),
30
-
31
- ('east' , 'East' ), ('west' , 'West' )],
25
+ selection = [('north' , 'North' ),
26
+ ('south' , 'Sou hhjghjth' ),
27
+ ('east' , 'East' ),
28
+ ('west' , 'West' )],
32
29
help = "Different Types of Directions" )
33
30
active = fields .Boolean (default = True )
34
31
state = fields .Selection (
35
32
string = 'State' ,
36
33
default = "new" ,
37
34
copy = False ,
38
35
required = True ,
39
- selection = [('new' , 'New' ), ('offer_recieved' , 'Offer Received' ), ('offer_accepted' , 'Offer Accepted' ), ('sold_and_cancelled' , 'Sold and Cancelled' )],
36
+ selection = [('new' , 'New' ), ('offer_recieved' , 'Offer Received' ), ('offer_accepted' , 'Offer Accepted' ), ('sold_and_cancelled' , 'Sold and Cancelled' )],
40
37
help = "State of the property" )
0 commit comments