diff --git a/erpnext/buying/doctype/purchase_order/purchase_order.json b/erpnext/buying/doctype/purchase_order/purchase_order.json index 61c4dcbec6..21bac18974 100644 --- a/erpnext/buying/doctype/purchase_order/purchase_order.json +++ b/erpnext/buying/doctype/purchase_order/purchase_order.json @@ -3732,7 +3732,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2018-08-01 15:18:33.155409", + "modified": "2018-08-27 08:35:10.345286", "modified_by": "Administrator", "module": "Buying", "name": "Purchase Order", diff --git a/erpnext/patches.txt b/erpnext/patches.txt index 1dcf599af1..94dd6821cb 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -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.v10_0.taxes_issue_with_pos 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.v11_0.update_brand_in_item_price 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.rename_health_insurance 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.make_location_from_warehouse erpnext.patches.v11_0.make_asset_finance_book_against_old_entries diff --git a/erpnext/patches/v11_0/update_total_qty_field.py b/erpnext/patches/v11_0/update_total_qty_field.py index c5d27d25d0..5c7663d5aa 100644 --- a/erpnext/patches/v11_0/update_total_qty_field.py +++ b/erpnext/patches/v11_0/update_total_qty_field.py @@ -31,5 +31,5 @@ def execute(): if when_then: frappe.db.sql(''' 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))) \ No newline at end of file