Skip to content

Add OdooRelease model and import/parsing functionality

Pelayo García requested to merge feat/14.0-odoo-release into 14.0

This pull request introduces the following changes:

  1. Adds a new model called OdooRelease, which represents OCB releases.

    • Each OdooRelease is related to a single OdooVersion.
    • Includes a list of all OdooInstance objects that have the corresponding OdooRelease.
  2. Updates the odoo.instance model:

    • Adds a new field called branch to track the deployed branch.
    • Implements a method to import and parse a YAML file from the inventory URL, and extract the odoo_role_odoo_release key to fill in the OdooRelease field.
  3. Updates the odoo.version model:

    • Track linked odoo_release
  4. Creates views, menus, actions, and searches for the new OdooRelease model.

  5. Adds a button in the odoo.instance form view to manually import and parse the YAML file and fill in the odoo_release_id field.

Merge request reports