Commit graph

69 commits

Author SHA1 Message Date
42e10bcced [UPD] install : le venv d'outillage passe en Python 3.14.7
install_erplibre.sh bâtissait .venv.erplibre avec le python3 du système, quelle
que soit sa version : un 3.10 y donnait un venv que l'outillage ne sait pas
charger. Il délègue à install_venv.sh, qui obtient la version par mise, pyenv
ou la distribution, et rebâtit un venv hors service. Le PATCH ne borne que le
venv d'Odoo, dont le pyproject exige « >=3.12.10,<3.13 » : l'exiger ailleurs
écartait un Python de distribution d'un cran en retard — NixOS 25.11 livre
3.14.2 — et faisait compiler CPython pour rien. Le module NixOS déclare
désormais les DEUX Python, substitués depuis les fichiers de version.
Vérifié : 15 tests sur des venvs factices, conservés, rebâtis ou refusés selon
leur état, et un chemin sans pyvenv.cfg garde son contenu.

--- EN ---

install_erplibre.sh built .venv.erplibre with the system python3, whatever its
version: a 3.10 gave a venv the tooling cannot load. It delegates to
install_venv.sh, which obtains the version through mise, pyenv or the
distribution, and rebuilds a venv out of service. The PATCH bounds only Odoo's
venv, whose pyproject requires ">=3.12.10,<3.13": requiring it elsewhere turned
away a distribution Python one step behind — NixOS 25.11 ships 3.14.2 — and
compiled CPython for nothing. The NixOS module now declares BOTH Pythons,
substituted from the version files.
Checked: 15 tests on stub venvs, kept, rebuilt or refused by their state, and a
path without pyvenv.cfg keeps its content.

Assisted-by: Claude Opus 5
2026-09-24 13:56:57 -04:00
f7f5e800fe [ADD] test: what the tooling imports must be declared
textual, urwid and lxml were already in the tooling requirements; the
earlier table read as if they were missing, when it only compared
against the system python. psycopg2 is the one absent, and stays so:
nothing under script/ imports it, the analysis tools query PostgreSQL
through psql, and the Odoo venvs declare it where Odoo needs it.

A test now answers this by reading the imports instead of the venv. It
bites both ways: a removed declaration, and a new undeclared import.

Also chmod +X -> +x in the Dockerfile: uppercase only adds the bit to
directories, or to files that already carry one. On what COPY had just
laid down in 644 it did nothing.

--- FR ---

[ADD] test : ce que l'outillage importe doit être déclaré

textual, urwid et lxml y étaient déjà ; le tableau précédent laissait
croire le contraire, alors qu'il comparait au python du système.
psycopg2 est le seul absent, et le reste : rien sous script/ ne
l'importe, les outils d'analyse passent par psql, et les venvs Odoo le
déclarent là où Odoo en a besoin.

Un test répond désormais à la question en lisant les imports plutôt
que le venv. Il mord des deux côtés : déclaration retirée, et import
non déclaré.

Aussi chmod +X -> +x dans le Dockerfile : la majuscule n'ajoute le bit
qu'aux répertoires, ou aux fichiers qui en portent déjà un. Sur ce que
COPY venait de déposer en 644, elle ne faisait rien.

Assisted-by: Claude Opus 5
2026-08-17 00:40:01 -04:00
1e731114f5 [IMP] script: update copyright year to 2026
Reflect the current year in all TechnoLibre
license headers across script/, test/, and docker/.

Generated by Claude Code 2.1.74 model claude-sonnet-4-6

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 23:16:05 -04:00
3a89caa33e [UPD] doc replace odoo 16 by odoo 18 2026-03-07 00:06:11 -05:00
a2d3aa2a78 [ADD] Multilingual translation of all documentation (EN/FR)
Added 30 .base.md files using the mmg (Multilingual Markdown Generator)
format to automatically generate English (.md) and French (.fr.md)
versions of all project documentation.
Updated conf/make.documentation.Makefile to process all .base.md files
via `make doc_markdown`.
2026-03-04 22:23:52 -05:00
6004437d4c [UPD] docker odoo 18 2026-02-05 02:07:47 -05:00
1309964a88 [UPD] docker compose selenium: add commented to increase session 2026-01-23 00:52:49 -05:00
2740064e1c [UPD] docker compose refresh 2025-12-02 00:29:39 -05:00
2513c1b8e9 [FIX] docker install postgresql-client-18 for postgresql 18 2025-11-26 03:32:18 -05:00
0973f12b85 [UPD] docker upgrade postgresql to 18 2025-11-19 23:37:45 -05:00
c1b9a5fee4 [UPD] format and update license 2025-11-08 23:53:07 -05:00
dce3f98bbc [FIX] docker downgrade postgresql 18 to 17
- some database importation not working like discuss_channel
2025-11-04 05:02:49 -05:00
cbc43fde3c [IMP] todo support odoo upgrade
- add example odoo test
- prevent delete production file with validation
- add makefile with selenium
- script prod to dev uninstall module after installation
- adapt todo with private directory
- script to download remote database
- TODO show documentation for migration
2025-10-31 01:43:26 -04:00
93617b1a65 [IMP] support multi version odoo on same workspace
- oficially support odoo 18 instead of odoo 16
- support postgis/postgresql 18 into docker
- change version erplibre 1.6.0
- support private environment and support local git repo manifest
- support switch odoo version
- support docker for each version
- update os installation
- upgrade python requirement
- separate virtual environment for erplibre and odoo
2025-10-31 01:36:26 -04:00
de9779cfc2 [IMP] refactoring .venv.erplibre
- erplibre separate venv erplibre and odoo
- rename python-version to python-odoo-version
- add conf/python-erplibre-version
- rename .venv to .venv.erplibre
- move .venv/repo to .venv.erplibre/bin/repo
- install pyenv into .venv.erplibre
- install poetry into .venv.odooVERSION

- first installation show odoo version to install
- can install erplibre without odoo
- update README.md information about installation with TODO
- change image from github to locally
- remove link creation .venv

- update version: remove code to force create symbolic link .venv
- use dynamic merge manifest, will be able to merge different odoo
version
- can add dev tools
- default manifest is empty to remove conflict
2025-10-31 01:34:26 -04:00
dfcd8ba91f [UPD] makefile build docker with clean
- docker compose volume private
2025-08-07 03:32:06 -04:00
67cd724795 [UPD] docker compose odoo 14 2025-06-06 17:27:53 -04:00
f490a61df3 [UPD] docker new version odoo 14 2025-05-04 01:01:15 -04:00
f77f521bf3 [IMP] docker and nginx template for odoo 12, 14 and 16 2025-04-25 23:25:43 -04:00
c1341a4198 [UPD] change 1.5.0 to 1.6.0 2025-04-25 23:25:43 -04:00
f4f6a2522f [ADD] makefile: more option to change directory docker 2025-04-12 17:10:56 -04:00
07346c5238 [ADD] script update env: support partial install for docker 2025-04-12 17:06:09 -04:00
d91c3c2e95 [IMP] support change odoo and python version
- Makefile show version, switch version and install different version
- erplibre_version with odoo_version, poetry_version and python_version
- support multiple docker version
- support odoo 12, odoo 14, odoo 16
- bullseye, bookworm debian
- update latest version
- script update_env_version to detect actual version and refactor it
- adapt file path to support multiple version
- poetry with verbose by default, ignore python keyring
- python script to generate image db with parallel for all odoo version
- check_addons_exist before generate all image
- support delay to change queue parallel
- fix odoo 12 product configurator
- can show demo website
- swith odoo
- force create addons if missing
- update manifest, because gen config break with wrong manifest
2024-11-02 02:26:02 -04:00
5b103eb457 [UPD] script: format script and add licence technolibre 2024-11-02 02:26:02 -04:00
df6c780417 [ADD] docker: vim and tig utilities 2024-08-25 01:34:43 -04:00
0133ee8335 [UPD] swig installation 2024-08-25 01:31:43 -04:00
5f1b4a13ad [UPD] docker: support libcairo2-dev 2024-08-25 00:24:30 -04:00
81c4528b57 [UPD] replace docker-compose to docker compose 2024-05-03 23:13:59 -04:00
eff77820ba [UPD] docker: buster to bullseye, fix npm install
- add developer tools
- update wkhtmltox to works with bullseye
2023-12-02 14:14:23 -05:00
722ab6971f [UPD] release 1.5.0 2023-07-07 03:10:36 -04:00
c5895c90f1 [FIX] docker: remove pip vatnumber and add addons/addons path to configuration 2023-07-07 01:31:03 -04:00
f3a5bc9399 [UPD] multilingual-markdown: update to last version v1.0.3 2023-07-07 01:04:38 -04:00
7ed6939907 [UPD] script: move script git, manifest, database, poetry, install
- refactor script emplacement
- update all reference
2023-01-02 21:54:20 -05:00
7ddefe4d2a [FIX] docker: update poetry into docker 2023-01-02 01:49:00 -05:00
11e14e3927 [UPD] python version 3.7.12 to 3.7.16 2022-12-21 22:59:01 -05:00
61e498dfbd [UPD] production release version 2022-10-05 23:00:01 -04:00
deea0471d2 [UPD] poetry to 1.1.14 2022-10-04 23:31:10 -04:00
f525de5ab2 [UPD] update to version v1.3.0 2022-01-25 19:09:25 -05:00
b85466b390 [UPD] poetry: docker and pyproject.toml version 1.1.12 2022-01-25 19:09:25 -05:00
5ec0b1c447 [ADD] docker: format docker-compose and add doc docker readme
- docker delete ~/.poetry in creation
2022-01-25 19:09:25 -05:00
73e58f59dd [UPD] python version 3.7.12 2022-01-24 14:05:12 -05:00
684f8dd4d7 Release v1.2.1 2021-09-28 01:41:36 -04:00
3df8aef25d [ADD] release 1.2.0 update manifest and configuration 2021-07-20 23:54:12 -04:00
62787c041b [UPD] docker: move script in ./script/docker
- Fix make docker_exec_erplibre
2021-06-30 22:26:20 -04:00
f7d70086fd [FIX] docker build, update dependencies and fix poetry
- Use image with python 3.7.7 instead of using pyenv
2021-06-27 16:51:30 -04:00
8078b68261 [ADD] documentation black, odoo-autopep8, prettier 2021-06-27 00:36:52 -04:00
e220944ec2 [FIX] docker missing path addons in config 2021-01-17 03:26:57 -05:00
b7bb037583 Release v1.1.1 2020-12-11 15:35:08 -05:00
8a9ffe423d [ADD] docker: support when volume is mounted on /etc/odoo
- config odoo.conf is overwrite, so made a copy before solve the problem
2020-12-11 00:20:42 -05:00
94f65f0165 [UPD] wkhtmltox 0.12.6-1 for docker 2020-11-21 00:14:48 -05:00