Skip to content

Commit 275bddc

Browse files
committed
[FIX] estate : fix value comparison for property state
1 parent 7a77b1b commit 275bddc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

estate/views/estate_property_view.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
<t t-name="card" handle="false">
2525
<field name="name"/>
2626
<field name="expected_price"/>
27-
<div t-if="record.state == 'offer_received'">
27+
<div t-if="record.state.raw_value == 'offer_received'">
2828
<field name="best_offer"/>
2929
</div>
30-
<div t-if="record.state == 'offer_accepted'">
30+
<div t-if="record.state.raw_value == 'offer_accepted'">
3131
<field name="selling_price"/>
3232
</div>
3333
<field name="property_tags_ids"/>

0 commit comments

Comments
 (0)