After any deployment or update on the instance using frappe cloud, the file paths for the KSA compliance app’s CLI and certificate are reset. This causes errors for users, requiring them to re-download the CLI and re-create the certificate, forcing them to go through the onboarding process again.
Preconditions
The server must have the certificate and CLI added to the correct file paths.
The company must be onboarded through ZATCA business settings.
Repro Steps
Open ZATCA business settings.
Onboard a company.
Create a sales invoice for the onboarded company.
Perform an update or deployment on the instance.
Attempt to create a new sales invoice for the onboarded company.
Actual results
The user receives an error related to the missing CLI file path, prompting them to download it again.
After downloading the CLI, another error related to the missing certificate path is displayed.
Expected Results
The file paths for the CLI and certificate should be saved in the database.
These file paths should persist through any deployment or update without requiring the user to re-download or re-enter information.
No errors should be displayed when creating new sales invoices after deployment.
After any deployment or update on the instance using frappe cloud, the file paths for the KSA compliance app’s CLI and certificate are reset. This causes errors for users, requiring them to re-download the CLI and re-create the certificate, forcing them to go through the onboarding process again.
Preconditions
Repro Steps
Actual results
Expected Results