From a86cab0bb2f3088237335e682603a87da50cc3ec Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Thu, 8 Oct 2020 16:41:23 +0530 Subject: [PATCH] fix: added patch to make custom field 'Print UOM after Quantity' --- erpnext/patches.txt | 1 + .../patches/v13_0/print_uom_after_quantity_patch.py | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 erpnext/patches/v13_0/print_uom_after_quantity_patch.py diff --git a/erpnext/patches.txt b/erpnext/patches.txt index 6087ce29aa5..77310cd70e5 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -729,3 +729,4 @@ erpnext.patches.v13_0.setting_custom_roles_for_some_regional_reports erpnext.patches.v13_0.rename_issue_doctype_fields erpnext.patches.v13_0.change_default_pos_print_format erpnext.patches.v13_0.set_youtube_video_id +erpnext.patches.v13_0.print_uom_after_quantity_patch \ No newline at end of file diff --git a/erpnext/patches/v13_0/print_uom_after_quantity_patch.py b/erpnext/patches/v13_0/print_uom_after_quantity_patch.py new file mode 100644 index 00000000000..0de3728f5c6 --- /dev/null +++ b/erpnext/patches/v13_0/print_uom_after_quantity_patch.py @@ -0,0 +1,10 @@ +# Copyright (c) 2019, Frappe and Contributors +# License: GNU General Public License v3. See license.txt + +from __future__ import unicode_literals + +import frappe +from erpnext.setup.install import create_print_uom_after_qty_custom_field + +def execute(): + create_print_uom_after_qty_custom_field()