Try ERPNext Buy Support Partners Foundation

Hide fields in doctype while accessing from mobile app

Hello Team

There are certain custom fields in sales order which I want to hide only while accessing it from the mobile app or mobile, so what conditions can be applied in the custom fields?

Thanking you for the help and stay safe.

i think you can do it by custom CSS file in your assets and add this file in hooks.py file

You may try frappe.is_mobile() in the js side.