Add custom fields to Users?

I’d like to create a custom field for Users that will store their Twilio phone number.

It will be used for a custom Dialog I am building to send SMS messages via Twilio from Lead/Contact forms.

The problem is that apparently ERPNext doesn’t allow “Core” Doctypes to be customized.

What’s the best way to add a custom field for users?

Hi @oguruma:

Some options:

  1. Edit the doctype instead customize it. (Note that your change will be gone with further updates).
  2. Create a custom app. Use fixtures to include Custom field for User Doctype
    Frappe Core DocTypes can't be customized in Version 11 - #29 by lasalesi
  3. Create a secondary doctype, linked to user. Put your new field there.

Hope this helps.