mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 19:59:12 +00:00
[fix] [minor] autoload chart of accounts
This commit is contained in:
@@ -165,6 +165,7 @@ erpnext.patches.v5_0.set_footer_address
|
|||||||
execute:frappe.db.set_value("Backup Manager", None, "send_backups_to_dropbox", 1 if frappe.db.get_value("Backup Manager", None, "upload_backups_to_dropbox") in ("Daily", "Weekly") else 0)
|
execute:frappe.db.set_value("Backup Manager", None, "send_backups_to_dropbox", 1 if frappe.db.get_value("Backup Manager", None, "upload_backups_to_dropbox") in ("Daily", "Weekly") else 0)
|
||||||
execute:frappe.db.sql_list("delete from `tabDocPerm` where parent='Issue' and modified_by='Administrator' and role='Guest'")
|
execute:frappe.db.sql_list("delete from `tabDocPerm` where parent='Issue' and modified_by='Administrator' and role='Guest'")
|
||||||
erpnext.patches.v5_0.update_item_and_description_again
|
erpnext.patches.v5_0.update_item_and_description_again
|
||||||
|
erpnext.patches.v6_0.multi_currency
|
||||||
erpnext.patches.v5_0.repost_gle_for_jv_with_multiple_party
|
erpnext.patches.v5_0.repost_gle_for_jv_with_multiple_party
|
||||||
erpnext.patches.v5_0.portal_fixes
|
erpnext.patches.v5_0.portal_fixes
|
||||||
erpnext.patches.v5_0.reset_values_in_tools
|
erpnext.patches.v5_0.reset_values_in_tools
|
||||||
@@ -207,7 +208,6 @@ execute:frappe.db.set_value("Stock Settings", None, "automatically_set_serial_no
|
|||||||
execute:frappe.db.sql("""update `tabProject` set percent_complete=round(percent_complete, 2) where percent_complete is not null""")
|
execute:frappe.db.sql("""update `tabProject` set percent_complete=round(percent_complete, 2) where percent_complete is not null""")
|
||||||
erpnext.patches.v6_0.fix_outstanding_amount
|
erpnext.patches.v6_0.fix_outstanding_amount
|
||||||
erpnext.patches.v6_0.fix_planned_qty
|
erpnext.patches.v6_0.fix_planned_qty
|
||||||
erpnext.patches.v6_0.multi_currency
|
|
||||||
erpnext.patches.v6_2.remove_newsletter_duplicates
|
erpnext.patches.v6_2.remove_newsletter_duplicates
|
||||||
erpnext.patches.v6_2.fix_missing_default_taxes_and_lead
|
erpnext.patches.v6_2.fix_missing_default_taxes_and_lead
|
||||||
erpnext.patches.v6_3.convert_applicable_territory
|
erpnext.patches.v6_3.convert_applicable_territory
|
||||||
|
|||||||
@@ -210,7 +210,7 @@ def validate_serial_no(sle, item_det):
|
|||||||
sle.item_code), SerialNoItemError)
|
sle.item_code), SerialNoItemError)
|
||||||
|
|
||||||
if sr.warehouse and sle.actual_qty > 0:
|
if sr.warehouse and sle.actual_qty > 0:
|
||||||
frappe.throw(_("Serial No {0} has already been received").format(sr.name),
|
frappe.throw(_("Serial No {0} has already been received").format(serial_no),
|
||||||
SerialNoDuplicateError)
|
SerialNoDuplicateError)
|
||||||
|
|
||||||
if sle.actual_qty < 0:
|
if sle.actual_qty < 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user