[UPD] version : porter la version déclarée d'ERPLibre à 1.7.0

Le tag v1.7.0 existe depuis mars et chaque déclaration disait encore 1.6.0.
« .erplibre-semver-version » est la source que env_var.sh lit dans
ERPLIBRE_VERSION. « pyproject.toml » est un lien vers le fichier de la version
d'Odoo active : les huit portent la version d'ERPLibre, en laisser sept à
1.6.0 ferait dépendre la version déclarée de la bascule d'Odoo. Les étiquettes
d'images docker restent à 1.6.0 : elles nomment des images publiées, empreinte
de compilation comprise, que la construction n'a pas encore produites.
Vérifié : env_var.sh rend 1.7.0, les quatre JSON se relisent, et les tests de
version et de configuration passent.

--- EN ---

Tag v1.7.0 has existed since March and every declaration still said 1.6.0.
`.erplibre-semver-version` is the source env_var.sh reads into
ERPLIBRE_VERSION. `pyproject.toml` is a link to the file of the active Odoo
version: all eight carry the ERPLibre version, and leaving seven at 1.6.0
would make the declared version depend on an Odoo switch. The docker image
tags stay at 1.6.0: they name published images, build hash included, that the
build step has not produced yet. Checked: env_var.sh renders 1.7.0, the four
JSON files reload, and the version and configuration tests pass.

Assisted-by: Claude Opus 5
This commit is contained in:
Mathieu Benoit 2026-09-04 05:24:29 -04:00
parent 4bd55732fc
commit f0a1457c20
18 changed files with 22 additions and 21 deletions

View file

@ -1 +1 @@
1.6.0 1.7.0

View file

@ -7,8 +7,8 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
## Projet ## Projet
ERPLibre est un fork communautaire d'Odoo Community Edition (OCE) supportant les versions 12 à 18. ERPLibre est un fork communautaire d'Odoo Community Edition (OCE) supportant les versions 12 à 18.
Version actuelle : **1.6.0** | Licence : **AGPL-3.0+** Version actuelle : **1.7.0** | Licence : **AGPL-3.0+**
Version Odoo par défaut : **18.0** (support officiel ERPLibre 1.6.0) Version Odoo par défaut : **18.0** (support officiel ERPLibre 1.7.0)
## Points d'attention pour Claude ## Points d'attention pour Claude

View file

@ -24,13 +24,14 @@
"odoo_version": "15.0", "odoo_version": "15.0",
"python_version": "3.8.20", "python_version": "3.8.20",
"poetry_version": "1.8.3", "poetry_version": "1.8.3",
"is_deprecated": true,
"note": "Deprecated" "note": "Deprecated"
}, },
"odoo16.0_python3.10.18": { "odoo16.0_python3.10.18": {
"odoo_version": "16.0", "odoo_version": "16.0",
"python_version": "3.10.18", "python_version": "3.10.18",
"poetry_version": "1.8.3", "poetry_version": "1.8.3",
"note": "Official support ERPLibre 1.6.0" "note": "Previous official support"
}, },
"odoo17.0_python3.10.18": { "odoo17.0_python3.10.18": {
"odoo_version": "17.0", "odoo_version": "17.0",
@ -43,6 +44,6 @@
"python_version": "3.12.10", "python_version": "3.12.10",
"poetry_version": "2.1.3", "poetry_version": "2.1.3",
"default": true, "default": true,
"note": "Last version" "note": "Official support ERPLibre 1.7.0"
} }
} }

View file

@ -5,7 +5,7 @@
"matrix": [ "matrix": [
{ {
"mobile": "2026.03.29.01", "mobile": "2026.03.29.01",
"erplibre": "1.6.0", "erplibre": "1.7.0",
"odoo": "18.0", "odoo": "18.0",
"sync_api_version": "1.0", "sync_api_version": "1.0",
"modules_required": [ "modules_required": [

View file

@ -129,7 +129,7 @@ Rechercher l'ancienne version, comme :
<!-- [common] --> <!-- [common] -->
```bash ```bash
grep --color=always --exclude-dir={.repo,.venv,.git} --exclude="*.svg" -nri v1.6.0 grep --color=always --exclude-dir={.repo,.venv,.git} --exclude="*.svg" -nri v1.7.0
``` ```
<!-- [en] --> <!-- [en] -->

View file

@ -64,7 +64,7 @@ make docker_build_odoo_18
Rechercher l'ancienne version, comme : Rechercher l'ancienne version, comme :
```bash ```bash
grep --color=always --exclude-dir={.repo,.venv,.git} --exclude="*.svg" -nri v1.6.0 grep --color=always --exclude-dir={.repo,.venv,.git} --exclude="*.svg" -nri v1.7.0
``` ```
Remplacer si nécessaire par la nouvelle version. Remplacer si nécessaire par la nouvelle version.

View file

@ -64,7 +64,7 @@ make docker_build_odoo_18
Search old version, like : Search old version, like :
```bash ```bash
grep --color=always --exclude-dir={.repo,.venv,.git} --exclude="*.svg" -nri v1.6.0 grep --color=always --exclude-dir={.repo,.venv,.git} --exclude="*.svg" -nri v1.7.0
``` ```
Replace if need it to new version. Replace if need it to new version.

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "erplibre", "name": "erplibre",
"version": "1.6.0", "version": "1.7.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "erplibre", "name": "erplibre",
"version": "1.6.0", "version": "1.7.0",
"license": "AGPLv3", "license": "AGPLv3",
"devDependencies": { "devDependencies": {
"@prettier/plugin-xml": "==2.2.0", "@prettier/plugin-xml": "==2.2.0",

View file

@ -1,7 +1,7 @@
{ {
"name": "erplibre", "name": "erplibre",
"description": "Easy installation of Odoo", "description": "Easy installation of Odoo",
"version": "1.6.0", "version": "1.7.0",
"license": "AGPLv3", "license": "AGPLv3",
"homepage": "https://erplibre.ca", "homepage": "https://erplibre.ca",
"devDependencies": { "devDependencies": {

View file

@ -12,7 +12,7 @@ target-version = [ "py37",]
[tool.poetry] [tool.poetry]
name = "ERPLibre" name = "ERPLibre"
version = "1.6.0" version = "1.7.0"
description = "Easy way to configure Odoo community" description = "Easy way to configure Odoo community"
license = "AGPL-3.0-or-later" license = "AGPL-3.0-or-later"
authors = [ "Mathieu Benoit <mathben@technolibre.ca>",] authors = [ "Mathieu Benoit <mathben@technolibre.ca>",]

View file

@ -12,7 +12,7 @@ target-version = [ "py37",]
[tool.poetry] [tool.poetry]
name = "ERPLibre" name = "ERPLibre"
version = "1.6.0" version = "1.7.0"
description = "Easy way to configure Odoo community" description = "Easy way to configure Odoo community"
license = "AGPL-3.0-or-later" license = "AGPL-3.0-or-later"
authors = [ "Mathieu Benoit <mathben@technolibre.ca>",] authors = [ "Mathieu Benoit <mathben@technolibre.ca>",]

View file

@ -12,7 +12,7 @@ target-version = [ "py37",]
[tool.poetry] [tool.poetry]
name = "ERPLibre" name = "ERPLibre"
version = "1.6.0" version = "1.7.0"
description = "Easy way to configure Odoo community" description = "Easy way to configure Odoo community"
license = "AGPL-3.0-or-later" license = "AGPL-3.0-or-later"
authors = [ "Mathieu Benoit <mathben@technolibre.ca>",] authors = [ "Mathieu Benoit <mathben@technolibre.ca>",]

View file

@ -12,7 +12,7 @@ target-version = [ "py37",]
[tool.poetry] [tool.poetry]
name = "ERPLibre" name = "ERPLibre"
version = "1.6.0" version = "1.7.0"
description = "Easy way to configure Odoo community" description = "Easy way to configure Odoo community"
license = "AGPL-3.0-or-later" license = "AGPL-3.0-or-later"
authors = [ "Mathieu Benoit <mathben@technolibre.ca>",] authors = [ "Mathieu Benoit <mathben@technolibre.ca>",]

View file

@ -12,7 +12,7 @@ target-version = [ "py37",]
[tool.poetry] [tool.poetry]
name = "ERPLibre" name = "ERPLibre"
version = "1.6.0" version = "1.7.0"
description = "Easy way to configure Odoo community" description = "Easy way to configure Odoo community"
license = "AGPL-3.0-or-later" license = "AGPL-3.0-or-later"
authors = [ "Mathieu Benoit <mathben@technolibre.ca>",] authors = [ "Mathieu Benoit <mathben@technolibre.ca>",]

View file

@ -12,7 +12,7 @@ target-version = [ "py37",]
[tool.poetry] [tool.poetry]
name = "ERPLibre" name = "ERPLibre"
version = "1.6.0" version = "1.7.0"
description = "Easy way to configure Odoo community" description = "Easy way to configure Odoo community"
license = "AGPL-3.0-or-later" license = "AGPL-3.0-or-later"
authors = [ "Mathieu Benoit <mathben@technolibre.ca>",] authors = [ "Mathieu Benoit <mathben@technolibre.ca>",]

View file

@ -12,7 +12,7 @@ target-version = [ "py37",]
[tool.poetry] [tool.poetry]
name = "ERPLibre" name = "ERPLibre"
version = "1.6.0" version = "1.7.0"
description = "Easy way to configure Odoo community" description = "Easy way to configure Odoo community"
license = "AGPL-3.0-or-later" license = "AGPL-3.0-or-later"
authors = [ "Mathieu Benoit <mathben@technolibre.ca>",] authors = [ "Mathieu Benoit <mathben@technolibre.ca>",]

View file

@ -12,7 +12,7 @@ target-version = [ "py37",]
[tool.poetry] [tool.poetry]
name = "ERPLibre" name = "ERPLibre"
version = "1.6.0" version = "1.7.0"
description = "Easy way to configure Odoo community" description = "Easy way to configure Odoo community"
license = "AGPL-3.0-or-later" license = "AGPL-3.0-or-later"
authors = [ "Mathieu Benoit <mathben@technolibre.ca>",] authors = [ "Mathieu Benoit <mathben@technolibre.ca>",]

View file

@ -1659,7 +1659,7 @@ class TODO(
return f"{secs}s" return f"{secs}s"
return f"{secs // 60}m{secs % 60:02d}s" return f"{secs // 60}m{secs % 60:02d}s"
# Cible d'installation Odoo exécutée dans la VM (défaut ERPLibre 1.6.0). # Cible d'installation Odoo exécutée dans la VM (défaut ERPLibre 1.7.0).
ERPLIBRE_ODOO_TARGET = "install_odoo_18" ERPLIBRE_ODOO_TARGET = "install_odoo_18"
# Go ajoutés au disque quand on installe ERPLibre (le minimum d'image ne # Go ajoutés au disque quand on installe ERPLibre (le minimum d'image ne
# laisse que ~97 Mo libres après l'installation). # laisse que ~97 Mo libres après l'installation).