Skip to content

Commit f790264

Browse files
committed
[FIX] estate errors runbot
1 parent 77b28ab commit f790264

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

estate/models/estate_property.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class EstateProperty(models.Model):
66
_name = "estate.property"
77
_description = "test description"
88

9-
name = fields.Char('Name', required=True)
9+
name = fields.Char('Name', required=True)
1010
description = fields.Text('Description')
1111
postcode = fields.Char('Post Code')
1212
date_availability = fields.Date('Date availability', copy=False, default=datetime.date.today()+relativedelta(months=+3))
@@ -20,10 +20,11 @@ class EstateProperty(models.Model):
2020
garden_area = fields.Integer('Garden area')
2121
garden_orientation = fields.Selection(
2222
string='Orientation',
23-
selection=[('north','North'), ('east','East'), ('south','South'), ('west','West')],
23+
selection=[('north', 'North'), ('east', 'East'), ('south', 'South'), ('west', 'West')],
2424
)
2525
active = fields.Boolean('Active', default=True)
2626
state = fields.Selection(
2727
string='state',
2828
selection=[('new','New'),('offerreceived','Offer Received'),('offeraccepted','Offer Accepted'),('sold','Sold'),('cancelled','Cancelled')],
29-
)
29+
)
30+

0 commit comments

Comments
 (0)