"Agriculture Analysis Criteria" restrict to domain

Hello,

Just like “Water Analysis” or “Plant Analysis” Doctypes, “Agriculture Analysis Criteria” should only have Permissions Rules for “Agriculture Manager” and/or “Agriculture User”. Or restrict to domain “Agriculture”.

Otherwise, every time ERPNext is updated, it’s needed to switch to “Developer mode”, to modify permission rules or restrict to agriculture domain.

It’s setup “Manufacturing” domain.

This issue ought to have been fixed by now but it’s still there!

There’s a Github issue already created for this

https://github.com/frappe/erpnext/issues/12431

Please fix asap

Thanks