[Fix] patch fixes for V11 migration
This commit is contained in:
parent
93577665f2
commit
51570f731c
@ -3732,7 +3732,7 @@
|
|||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 0,
|
"istable": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"modified": "2018-08-01 15:18:33.155409",
|
"modified": "2018-08-27 08:35:10.345286",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Buying",
|
"module": "Buying",
|
||||||
"name": "Purchase Order",
|
"name": "Purchase Order",
|
||||||
|
@ -520,6 +520,7 @@ erpnext.patches.v11_0.set_default_email_template_in_hr #08-06-2018
|
|||||||
erpnext.patches.v11_0.uom_conversion_data #30-06-2018
|
erpnext.patches.v11_0.uom_conversion_data #30-06-2018
|
||||||
erpnext.patches.v10_0.taxes_issue_with_pos
|
erpnext.patches.v10_0.taxes_issue_with_pos
|
||||||
erpnext.patches.v11_0.update_account_type_in_party_type
|
erpnext.patches.v11_0.update_account_type_in_party_type
|
||||||
|
erpnext.patches.v11_0.rename_supplier_type_to_supplier_group
|
||||||
erpnext.patches.v10_1.transfer_subscription_to_auto_repeat
|
erpnext.patches.v10_1.transfer_subscription_to_auto_repeat
|
||||||
erpnext.patches.v11_0.update_brand_in_item_price
|
erpnext.patches.v11_0.update_brand_in_item_price
|
||||||
erpnext.patches.v11_0.create_default_success_action
|
erpnext.patches.v11_0.create_default_success_action
|
||||||
@ -530,7 +531,6 @@ erpnext.patches.v11_0.rename_field_max_days_allowed
|
|||||||
erpnext.patches.v11_0.create_salary_structure_assignments
|
erpnext.patches.v11_0.create_salary_structure_assignments
|
||||||
erpnext.patches.v11_0.rename_health_insurance
|
erpnext.patches.v11_0.rename_health_insurance
|
||||||
erpnext.patches.v11_0.rebuild_tree_for_company
|
erpnext.patches.v11_0.rebuild_tree_for_company
|
||||||
erpnext.patches.v11_0.rename_supplier_type_to_supplier_group
|
|
||||||
erpnext.patches.v11_0.create_department_records_for_each_company
|
erpnext.patches.v11_0.create_department_records_for_each_company
|
||||||
erpnext.patches.v11_0.make_location_from_warehouse
|
erpnext.patches.v11_0.make_location_from_warehouse
|
||||||
erpnext.patches.v11_0.make_asset_finance_book_against_old_entries
|
erpnext.patches.v11_0.make_asset_finance_book_against_old_entries
|
||||||
|
@ -31,5 +31,5 @@ def execute():
|
|||||||
if when_then:
|
if when_then:
|
||||||
frappe.db.sql('''
|
frappe.db.sql('''
|
||||||
UPDATE
|
UPDATE
|
||||||
`tab%s` dt SET dt.total_qty = CASE %s END
|
`tab%s` dt SET dt.total_qty = CASE %s ELSE 0.0 END
|
||||||
''' % (doctype, " ".join(when_then)))
|
''' % (doctype, " ".join(when_then)))
|
Loading…
Reference in New Issue
Block a user