Skip to content

Commit 5ccd329

Browse files
committed
[FIX] estate: estate_account had import error
-Fixed path of estate_account module.
1 parent 3fc4e6b commit 5ccd329

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

estate/models/estate_property_offer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def action_accept(self):
5454
def action_refuse(self):
5555
self.status = 'refused'
5656
return True
57-
57+
5858
@api.model
5959
def create(self, vals):
6060
vals_list = vals if isinstance(vals, list) else [vals]
@@ -75,7 +75,7 @@ def create(self, vals):
7575
raise UserError("You cannot create an offer with a lower amount than an existing offer for this property.")
7676

7777
records = super().create(vals)
78-
if isinstance(records, models.Model):
78+
if isinstance(records, models.Model):
7979
for offer in records:
8080
offer.property_id.state = "offer_received"
8181
return records

estate_account/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
'installable': True,
55
'author': 'Odoo S.A.',
66
'license': 'LGPL-3',
7-
'depends': ['estate','account']
7+
'depends': ['estate', 'account']
88
}

0 commit comments

Comments
 (0)