Skip to content

Commit 0eedd7a

Browse files
committed
[FIX] estate: fix colors in estate property list form
- Condition for success decoration (green) was incorrect.
1 parent dd5169f commit 0eedd7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

estate/views/estate_property_views.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<field name="name">estate.property.list</field>
55
<field name="model">estate.property</field>
66
<field name="arch" type="xml">
7-
<list decoration-success="offer_ids and state != 'sold'" decoration-bf="state == 'offer_accepted'" decoration-muted="state == 'sold'">
7+
<list decoration-success="state in ['offer_received', 'offer_accepted']" decoration-bf="state == 'offer_accepted'" decoration-muted="state == 'sold'">
88
<field name="name"/>
99
<field name="postcode"/>
1010
<field name="bedrooms"/>

0 commit comments

Comments
 (0)