feat: add custom field debtor_creditor_number to Party Account
This commit is contained in:
parent
09c7598a67
commit
6b2e4f2b5d
@ -1,6 +1,18 @@
|
||||
import os
|
||||
import frappe
|
||||
from frappe.custom.doctype.custom_field.custom_field import create_custom_fields
|
||||
|
||||
|
||||
def setup(company=None, patch=True):
|
||||
pass
|
||||
make_custom_fields()
|
||||
|
||||
|
||||
def make_custom_fields():
|
||||
custom_fields = {
|
||||
'Party Account': [
|
||||
dict(fieldname='debtor_creditor_number', label='Debtor/Creditor Number',
|
||||
fieldtype='Data', insert_after='account')
|
||||
]
|
||||
}
|
||||
|
||||
create_custom_fields(custom_fields)
|
||||
|
Loading…
x
Reference in New Issue
Block a user