Add OdooRelease model and import/parsing functionality
This pull request introduces the following changes:
-
Adds a new model called
OdooRelease
, which represents OCB releases.- Each
OdooRelease
is related to a singleOdooVersion
. - Includes a list of all
OdooInstance
objects that have the correspondingOdooRelease
.
- Each
-
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 theOdooRelease
field.
- Adds a new field called
-
Updates the
odoo.version
model:- Track linked odoo_release
-
Creates views, menus, actions, and searches for the new
OdooRelease
model. -
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.