mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 14:38:26 +00:00
fixed syntax error in recurring sales invoice code
This commit is contained in:
@@ -719,7 +719,7 @@ def get_next_date(dt, mcount, day=None):
|
|||||||
if not day:
|
if not day:
|
||||||
day = getdate(dt).day
|
day = getdate(dt).day
|
||||||
if month > 12:
|
if month > 12:
|
||||||
month, year = m-12, y+1
|
month, year = month-12, year+1
|
||||||
try:
|
try:
|
||||||
next_month_date = datetime.date(year, month, day)
|
next_month_date = datetime.date(year, month, day)
|
||||||
except:
|
except:
|
||||||
@@ -909,4 +909,4 @@ def get_bank_cash_account(mode_of_payment):
|
|||||||
webnotes.msgprint("Default Bank / Cash Account not set in Mode of Payment: %s. Please add a Default Account in Mode of Payment master." % mode_of_payment)
|
webnotes.msgprint("Default Bank / Cash Account not set in Mode of Payment: %s. Please add a Default Account in Mode of Payment master." % mode_of_payment)
|
||||||
return {
|
return {
|
||||||
"cash_bank_account": val
|
"cash_bank_account": val
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user