mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
fix: sort by ascending to get the first period closing voucher (#44029)
This commit is contained in:
@@ -417,7 +417,7 @@ class PeriodClosingVoucher(AccountsController):
|
|||||||
"Period Closing Voucher",
|
"Period Closing Voucher",
|
||||||
{"company": self.company, "docstatus": 1},
|
{"company": self.company, "docstatus": 1},
|
||||||
"name",
|
"name",
|
||||||
order_by="period_end_date",
|
order_by="period_end_date asc",
|
||||||
)
|
)
|
||||||
|
|
||||||
if not first_pcv or first_pcv == self.name:
|
if not first_pcv or first_pcv == self.name:
|
||||||
|
|||||||
@@ -314,7 +314,7 @@ erpnext.patches.v15_0.update_asset_value_for_manual_depr_entries
|
|||||||
erpnext.patches.v15_0.update_gpa_and_ndb_for_assdeprsch
|
erpnext.patches.v15_0.update_gpa_and_ndb_for_assdeprsch
|
||||||
erpnext.patches.v14_0.create_accounting_dimensions_for_closing_balance
|
erpnext.patches.v14_0.create_accounting_dimensions_for_closing_balance
|
||||||
erpnext.patches.v14_0.set_period_start_end_date_in_pcv
|
erpnext.patches.v14_0.set_period_start_end_date_in_pcv
|
||||||
erpnext.patches.v14_0.update_closing_balances #29-10-2024
|
erpnext.patches.v14_0.update_closing_balances #08-11-2024
|
||||||
execute:frappe.db.set_single_value("Accounts Settings", "merge_similar_account_heads", 0)
|
execute:frappe.db.set_single_value("Accounts Settings", "merge_similar_account_heads", 0)
|
||||||
erpnext.patches.v14_0.update_reference_type_in_journal_entry_accounts
|
erpnext.patches.v14_0.update_reference_type_in_journal_entry_accounts
|
||||||
erpnext.patches.v14_0.update_subscription_details
|
erpnext.patches.v14_0.update_subscription_details
|
||||||
|
|||||||
Reference in New Issue
Block a user