Skip to content

Commit 8946235

Browse files
committed
[FIX] state error
1 parent 1561928 commit 8946235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

estate/models/estate_property_offer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def action_accept(self):
3636
raise UserError("A refused offer cannot be accepted.")
3737
else:
3838
offer.status = 'accepted'
39-
offer.property_id.status = 'offer_accepted'
39+
offer.property_id.state = 'offer_accepted'
4040
return True
4141

4242
def action_refuse(self):

0 commit comments

Comments
 (0)