Skip to Content
Menu

Maintenance scripts

by
Odoo
v 18.0 Third Party 585
Download for v 18.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Community Apps Dependencies
Lines of code 677
Technical Name smile_script
LicenseAGPL-3
Websitehttp://www.smile.fr
Versions 6.0 6.1 8.0 9.0 11.0 12.0 13.0 16.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Community Apps Dependencies
Lines of code 677
Technical Name smile_script
LicenseAGPL-3
Websitehttp://www.smile.fr
Versions 6.0 6.1 8.0 9.0 11.0 12.0 13.0 16.0 18.0

License: AGPL-3 Smile-SA/odoo_addons

Smile Script

This module allows users to create and run maintenance scripts. After each script's execution, interventions are logged in the database.

Features:

  • Add access rights for users to create and track maintenance scripts.
  • Create maintenance scripts in Python, SQL, or XML with predefined variables like self, fields, logger, and tools.
  • Test scripts in "Test Mode" and validate them before execution.
  • Track logs of maintenance interventions.
  • Validated scripts and interventions cannot be deleted.

Table of contents

Usage

Follow these steps to use the Smile Script module:

  1. Go to Settings > Users & Companies > Users and assign the Smile Script and Smile Logs access rights to the user.
  2. Create a maintenance script:
    • Go to Settings > Technical > Maintenance > Scripts.
    • Click Create and fill in the fields: Name, Description, Type (Python, SQL, or XML), and the script code.
    • Click Save and Test to validate the script.
  3. Run the script:
    • Click the Run button to execute the script.
    • Go to Settings > Technical > Maintenance > Interventions to view the results.
  4. Track logs of maintenance interventions:
    • Go to Settings > Technical > Logging > Logs.
Add Access Rights
Create, Test, and Validate Script
Create, Test, and Validate Script
Create, Test, and Validate Script
Create, Test, and Validate Script
Run Script
Track Intervention Logs

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smash it by providing detailed and welcomed feedback here.

Do not contact contributors directly about support or help with technical issues.

Credits

Contributors

  • Smile Devlopment Team
  • Corentin Pouhet-Brunerie

Maintainer

This module is maintained by Smile SA.

Since 1991 Smile has been a pioneer of technology and also the European expert in open source solutions.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.