I was trying to use the Packages feature in Frappe to create Doctypes and export them for importing into other server instances, using only the UI. However, I encountered an issue during this process.
When I created a package release with a module and a Doctype included in it, and then saved the package release, only the following files were created in the packages
folder under the site directory:
- JSON file
- README file
- LICENSE file
Additionally, the compressed ZIP file generated in site/public/files
also contains only these files.
Shouldn’t the ZIP file include all the necessary files, such as the .py
, .js
, and other associated files, to ensure that the Doctype can be imported correctly on another server? Without these, it seems the Doctype cannot be fully imported or used.
In one of the discussions I came across about fixtures in Frappe, I tried using that approach as well, but it also didn’t include the .py files and other related files for the Doctype.
Am I missing any steps in the process, or is there a configuration or setting I need to check? Any guidance on how to make this work properly would be greatly appreciated.
Thank you for your help!