Skip to content

Commit 192d855

Browse files
[IMP] real_estate: refine data type for garden_area
- The 'garden_area' field has been updated to a Float type to allow for more precise measurements of living space in square meters (sqm). Chapter #5
1 parent 8890262 commit 192d855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

estate/models/estate_property.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class EstateProperty(models.Model):
1414
expected_price = fields.Float(string="Expected Price", required=True)
1515
facades = fields.Integer(string="Facades")
1616
garden = fields.Boolean(string="Garden")
17-
garden_area = fields.Integer(string="Garden Area (sqm)")
17+
garden_area = fields.Float(string="Garden Area (sqm)")
1818
garden_orientation = fields.Selection(
1919
string="Direction",
2020
selection=[

0 commit comments

Comments
 (0)