From 750c7490f90192e81af9d4178cb03a7d20a99ad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Fri, 12 Dec 2025 17:45:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_property/wizard/water_price_wizard.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yuthon_property/wizard/water_price_wizard.py b/yuthon_property/wizard/water_price_wizard.py index 58e3461f4..1f5642401 100644 --- a/yuthon_property/wizard/water_price_wizard.py +++ b/yuthon_property/wizard/water_price_wizard.py @@ -60,6 +60,9 @@ class WaterPriceWizard(models.TransientModel): 'price': self.price, }) + def _get_default_month(self): + current_month = datetime.now().month + return str(current_month)