fix: Patch
This commit is contained in:
parent
2b34028acd
commit
79d250845e
@ -1,6 +1,7 @@
|
|||||||
# Copyright (c) 2021, Frappe and Contributors
|
# Copyright (c) 2021, Frappe and Contributors
|
||||||
# License: GNU General Public License v3. See license.txt
|
# License: GNU General Public License v3. See license.txt
|
||||||
|
|
||||||
|
import frappe
|
||||||
from frappe.custom.doctype.custom_field.custom_field import create_custom_fields
|
from frappe.custom.doctype.custom_field.custom_field import create_custom_fields
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
@ -18,9 +19,7 @@ def execute():
|
|||||||
dict(fieldname='place_of_supply', label='Place of Supply',
|
dict(fieldname='place_of_supply', label='Place of Supply',
|
||||||
fieldtype='Data', insert_after='company_gstin',
|
fieldtype='Data', insert_after='company_gstin',
|
||||||
print_hide=1, read_only=1),
|
print_hide=1, read_only=1),
|
||||||
dict(fieldname='gst_column_break', fieldtype='Column Break',
|
dict(fieldname='customer_address', label='Customer Address', fieldtype='Link', insert_after='place_of_supply',
|
||||||
insert_after='place_of_supply'),
|
|
||||||
dict(fieldname='customer_address', label='Customer Address', fieldtype='Link', insert_after='gst_column_break',
|
|
||||||
print_hide=1, options='Address', depends_on = 'eval:doc.party_type == "Customer"'),
|
print_hide=1, options='Address', depends_on = 'eval:doc.party_type == "Customer"'),
|
||||||
dict(fieldname='customer_gstin', label='Customer GSTIN',
|
dict(fieldname='customer_gstin', label='Customer GSTIN',
|
||||||
fieldtype='Data', insert_after='customer_address',
|
fieldtype='Data', insert_after='customer_address',
|
||||||
|
Loading…
Reference in New Issue
Block a user