docs: fix simple typo, udpate -> update

There is a small typo in erpnext/patches/v4_0/map_charge_to_taxes_and_charges.py.

Should read `update` rather than `udpate`.
This commit is contained in:
Tim Gates 2020-12-23 11:39:37 +11:00
parent a77b8c9fcc
commit 1fb412e3f6
No known key found for this signature in database
GPG Key ID: AE3BE0D53823CF05

View File

@ -5,11 +5,11 @@ from __future__ import unicode_literals
import frappe
def execute():
# udpate sales cycle
# update sales cycle
for d in ['Sales Invoice', 'Sales Order', 'Quotation', 'Delivery Note']:
frappe.db.sql("""update `tab%s` set taxes_and_charges=charge""" % d)
# udpate purchase cycle
# update purchase cycle
for d in ['Purchase Invoice', 'Purchase Order', 'Supplier Quotation', 'Purchase Receipt']:
frappe.db.sql("""update `tab%s` set taxes_and_charges=purchase_other_charges""" % d)