Yeah, i’m still learning… It’s my first time that i have contact with API.
No i don’t wanna create a new field, i wanna add the Employee together with Supplier and Customer.
So this will permit that i do payment to my employee, and i will select which employee i wanna pay in the next list.
For now, i can do payments just for Suppliers and Customers…
Yeah, it seems that i can’t edit the DocType Party_Type…
He’s fetching doctype in options, but idk how this options is configured to return just Customers and Suppliers…
The config of link
How it know what kind of DocType i wanna return if it’s not specified?!
How can i define the range of the DocType?
Editing the existing DocType will almost definitely break some of the default tests, which is a headache you don’t want. Instead, hide it.
Create a new custom field. Where you have “DocType” entered, put in “Employee” instead.
Yeah, but and the Suppliers and Customers? Will be in other field, this is not so good
I will see what can i do about that, thanks for trying
Not really. But can close the topic, if I need it again I open another. Thank you!