Skip to content

Commit cd3db74

Browse files
committed
[IMP] estate: fix linting issues
1 parent 1809d22 commit cd3db74

6 files changed

Lines changed: 7 additions & 13 deletions

File tree

estate/__manifest__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,5 @@
2222
'demo/demo.xml',
2323
],
2424
'application': True,
25-
2625
}
2726

estate/models/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@
33
from . import estate_property_tag
44
from . import estate_property_offer
55

6-

estate/models/estate_property.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,3 @@ class EstateProperty(models.Model):
5656
tag_ids = fields.Many2many('estate.property.tag', string="Property Tags")
5757
offer_ids = fields.One2many("estate.property.offer", "property_id", string="Offers")
5858

59-
60-
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
from odoo import fields, models
22

3+
34
class EstatePropertyOffer(models.Model):
45
_name = 'estate.property.offer'
56
_description = 'Estate Property Offer'
6-
7+
78
price = fields.Float(string="Price")
8-
9+
910
status = fields.Selection(
1011
selection=[
1112
('accepted', "Accepted"),
@@ -14,8 +15,6 @@ class EstatePropertyOffer(models.Model):
1415
string="Status",
1516
copy=False
1617
)
17-
18+
1819
partner_id = fields.Many2one('res.partner', required=True, string="Partner")
1920
property_id = fields.Many2one('estate.property', required=True, string="Property")
20-
21-
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from odoo import fields, models
22

3+
34
class EstatePropertyTag(models.Model):
45
_name = 'estate.property.tag'
56
_description = 'Property Tag'
67

78
name = fields.Char(string="Name", required=True)
8-
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
from odoo import fields, models
22

3+
34
class EstatePropertyType(models.Model):
45
_name = 'estate.property.type'
5-
_description = 'Estate Property Type'
6+
_description = 'Estate Property Type'
67

78
name = fields.Char(string="Name", required=True)
8-
9-

0 commit comments

Comments
 (0)