mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 01:34:10 +00:00
fix: run patch for gst
This commit is contained in:
@@ -508,4 +508,5 @@ erpnext.patches.v10_0.recalculate_gross_margin_for_project
|
||||
erpnext.patches.v10_0.delete_hub_documents
|
||||
erpnext.patches.v10_0.update_user_image_in_employee
|
||||
erpnext.patches.v10_0.repost_gle_for_purchase_receipts_with_rejected_items
|
||||
erpnext.patches.v10_0.allow_operators_in_supplier_scorecard
|
||||
erpnext.patches.v10_0.allow_operators_in_supplier_scorecard
|
||||
erpnext.patches.v10_0.gst_hsn_fixes
|
||||
14
erpnext/patches/v10_0/gst_hsn_fixes.py
Normal file
14
erpnext/patches/v10_0/gst_hsn_fixes.py
Normal file
@@ -0,0 +1,14 @@
|
||||
import frappe
|
||||
from erpnext.regional.india.setup import setup
|
||||
from frappe.custom.doctype.custom_field.custom_field import create_custom_fields
|
||||
|
||||
def execute():
|
||||
hsn_sac_field = dict(fieldname='gst_hsn_code', label='HSN/SAC',
|
||||
fieldtype='Data', options='item_code.gst_hsn_code', insert_after='description',
|
||||
allow_on_submit=1, print_hide=1)
|
||||
|
||||
custom_fields = {
|
||||
'Material Request Item': [hsn_sac_field]
|
||||
}
|
||||
|
||||
create_custom_fields(custom_fields)
|
||||
Reference in New Issue
Block a user