Skip to content

Commit 804d83a

Browse files
alan-odoomatho-odoo
authored andcommitted
Oh what a trap
1 parent 878b856 commit 804d83a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

estate/models/res_users.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
class ResUsers(models.Model):
55
_inherit = "res.users"
66

7-
property_ids = fields.One2many("estate.property", "salesman", domain=['|', ('state', '=', 'New'), ('state', '=', 'Offer Received')])
7+
property_ids = fields.One2many("estate.property", "salesman", domain=[('state', 'in', ['New', 'Offer Received'])])

0 commit comments

Comments
 (0)