Skip to content

Commit 0459415

Browse files
committed
[FIX] estate: chapter11 (sprinkles) v2
1 parent 1f55239 commit 0459415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

estate/models/estate_property_offer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class EstatePropertyOffer(models.Model):
1616
property_id = fields.Many2one('estate.property', string='Property', required=True)
1717
validity = fields.Integer(string='Validity (days)', default=7)
1818
date_deadline = fields.Date(string='Deadline', compute='_compute_deadline', inverse='_inverse_deadline')
19-
property_type_id = fields.Many2one('estate.property.type', string='Property Type', related="property_id.property_type_id", stored=True)
19+
property_type_id = fields.Many2one('estate.property.type', string='Property Type', related="property_id.property_type_id", store=True)
2020

2121
_check_price = models.Constraint(
2222
'CHECK(price > 0)',

0 commit comments

Comments
 (0)