Skip to content

Commit 587a39a

Browse files
committed
[CLN] estate: rename onchange method to match coding guidelines
1 parent ac98257 commit 587a39a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

estate/models/estate_property.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def _compute_best_price(self) -> None:
5858

5959
# Methods that trigger on changes
6060
@api.onchange("garden")
61-
def _compute_garden_defaults(self) -> None:
61+
def _onchange_garden_defaults(self) -> None:
6262
if self.garden:
6363
self.garden_area = 10
6464
self.garden_orientation = "north"

0 commit comments

Comments
 (0)