Trying to understand the best way to have customization ( form customization ) packaged.
One approach we use is to use bench export-fixtures and have hooks.py defined such that only our customizations are exported ( using module field in custom field and property setters ) . The disadvantage of this approach is that all the custom-fields are exported into one file within the app - so becomes complex to maintain and review in PRs .
Our preferred approach is to use form customizations’ action menu option ( export customization ) to publish doctype specific changes as a single JSON. The issue with this approach is that it does not allow us to only export our customizations into our app and we might export other customizations ( say india_compliance ) as well into our app, causing conflicts , unless these are manually removed.
Is there any way to address this need to have separate customization data by doctype and also have only app specific customizations exported during export customizations