Skip to content

Commit 3aa1cb8

Browse files
committed
[FIX] estate: style errors
1 parent c8dd270 commit 3aa1cb8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

estate/models/estate_property.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def _onchange_garden(self):
8686
@api.ondelete(at_uninstall=False)
8787
def _unlink_check_state(self):
8888
for record in self:
89-
if record.state not in ('new','cancelled'):
89+
if record.state not in ('new', 'cancelled'):
9090
raise exceptions.UserError("Only new and cancelled properties can be deleted.")
9191

9292
def property_sold(self):

estate/models/res_users.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Part of Odoo. See LICENSE file for full copyright and licensing details.
22

3-
from odoo import fields, models, api, exceptions
3+
from odoo import fields, models
44

55

66
class Users(models.Model):

0 commit comments

Comments
 (0)