Skip to content

Commit 9edbad8

Browse files
committed
[FIX] estate: style errors fixed
1 parent 1fafa10 commit 9edbad8

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

estate/models/estate_property.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,4 @@ class EstateProperty(models.Model):
4040
domain=[('is_company', '=', False)])
4141
salesperson_id = fields.Many2one('res.users', string='Salesperson',
4242
default=lambda self: self.env.user)
43-
offer_ids = fields.Many2many('estate.property.offer','property_id', string='Offers')
44-
43+
offer_ids = fields.Many2many('estate.property.offer', 'property_id', string='Offers')

estate/models/estate_property_offer.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44

55

66
class EstatePropertyOffer(models.Model):
7-
_name='estate.property.offer'
8-
_description='Estate Property Offer'
7+
_name = 'estate.property.offer'
8+
_description = 'Estate Property Offer'
9+
910

1011
price = fields.Float(string='Price')
1112
status = fields.Selection(string='Status', copy=False,

estate/models/estate_property_tag.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
class EstatePropertyTag(models.Model):
7-
_name='estate.property.tag'
8-
_description='Estate Property Tag'
7+
_name = 'estate.property.tag'
8+
_description = 'Estate Property Tag'
99

1010
name = fields.Char(string='Property Tag', required=True)

estate/models/estate_property_type.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
class EstatePropertyType(models.Model):
7-
_name='estate.property.type'
8-
_description='Estate Property Type'
7+
_name = 'estate.property.type'
8+
_description = 'Estate Property Type'
99

1010
name = fields.Char(string='Property Type', required=True)

0 commit comments

Comments
 (0)