Maintenance scripts

by
Odoo          
v 12.0 Third Party 421
Download for 12.0 series Deploy on Odoo.sh
You bought this module and need support ? Click here !
Technical name smile_script
LicenseAGPL-3
Websitehttp://www.smile.fr
Repositoryhttps://github.com/Smile-SA/odoo_addons#12.0
Read description for v 11.0 v 9.0 v 8.0 v 6.1 v 6.0
Included Dependencies

Maintenance scripts

License: AGPL-3 Smile-SA/odoo_addons

This module allows user to create and run maintenance scripts. After each script's run, interventions will be logged in database.

Features:

  • Add access right to the user by checking Smile Script and Smile Logs rights.
  • Create maintenance script by specifying the name of script, description, the type (Python or SQL or XML), write the code of the script using the following variables: self, fields, logger, tools. To display a result, use the variable "result".
  • Test the code and display results in intervention line with test mode checked.
  • Validate a script, then run it. A new intervention will automatically be created.
  • All maintenance interventions are listed in interventions menu with default filter by validated script.
  • Users can track logs of maintenance interventions.
  • Validated scripts and interventions can't be deleted.

Table of contents

Usage

To give access right to user to create maintenance scripts:

  1. Go to Settings > Users & companies > Users menu, select the user and in Access Rights > Others check the rule Smile Script / User.

To give access right to user to track logs of script's operations:

  1. Go to Settings > Users & companies > Users menu, select the user and in Access Rights > Others check the rule Smile Logs / User.
Add Access Rights

To create, test and validate a maintenance script:

  1. Go to Settings > Technical > Maintenance > Scripts, press Create button and fill the fields: Name, description, the type and the code of your script
  2. Press Save and Test buttons.
  3. If result is well displayed in interventions lines, press Validate button.
Create, test and validate a script

To execute a script and display results:

  1. Press the red button Run.
  2. Go to Settings > Technical > Maintenance > Interventions.
Run a script
Display interventions

To track logs of maintenance interventions:

  1. Go to Settings > Technical > Logging > Logs.
Track intervention's log

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 smashing it by providing a detailed and welcomed feedback here.

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

GDPR / EU Privacy

This addons does not collect any data and does not set any browser cookies.

Credits

Contributors

  • 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.

Smile SA

This module is part of the odoo-addons project on GitHub.

You are welcome to contribute.

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.