Commit graph

133 commits

Author SHA1 Message Date
cb1ff8dcb2 [REM] doc : retirer la recette libssl1.1 de la FAQ
Elle faisait ajouter bullseye-security pour y prendre libssl1.1 sur Debian 13.
Ce dépôt n'existe plus : son index est encore publié mais son pool ne porte
plus les fichiers, et rien n'en a été archivé. La recette ne pouvait donc que
donner une source morte, puis une erreur qui n'en désigne pas la cause.
Elle était en outre inutile : le build de wkhtmltopdf qu'on installe là-bas
est celui de bookworm, qui réclame libssl3 — que trixie fournit sous le nom
libssl3t64, en déclarant « Provides: libssl3 ». L'installation se résout donc
seule. La section qui suit garde l'issue de secours, un service en conteneur.
Vérifié : plus aucune mention de bullseye ni de libssl1.1 dans la FAQ.

--- EN ---

It had the reader add bullseye-security to take libssl1.1 from it on Debian
13. That repository is gone: its index is still published but its pool no
longer holds the files, and nothing was archived. The recipe could therefore
only yield a dead source, then an error naming none of its cause. It was
useless besides: the wkhtmltopdf build installed there is bookworm's, which
requires libssl3 — which trixie supplies as libssl3t64, declaring "Provides:
libssl3". The install resolves on its own. The next section keeps the fallback,
a containerised service.
Checked: no mention of bullseye or libssl1.1 left in the FAQ.

Assisted-by: Claude Opus 5
2026-09-24 13:56:57 -04:00
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
e14356a51e [ADD] release : publier 1.8.0, section de changelog et version déclarée
Les 39 puces du non-publié décrivent du travail fini qu'aucun numéro ne
permettait de citer. La section 1.8.0 les porte, avec la note de migration que
réclament le choix de l'interpréteur Python et le retrait d'Ubuntu 20.04 et
22.04. La version déclarée suit, comme le veut doc/RELEASE.base.md : le
fichier semver que lit env_var.sh, les huit pyproject, npm, CLAUDE.md et la
note des versions supportées. La ligne de contracts/compatibility.json reste
en 1.7.0, elle atteste un appariement mobile éprouvé et non la version
courante. Le commentaire de todo.py ne nomme plus de version, celle du dépôt
étant marquée « default » dans le fichier des versions supportées.
Vérifié : ERPLIBRE_VERSION=1.8.0, parité 17/8/10/2/2, tests de version verts.

--- EN ---

The unreleased list's 39 entries describe finished work no number could cite.
The 1.8.0 section carries them, with the migration note that choosing the
Python interpreter and dropping Ubuntu 20.04 and 22.04 call for. The declared
version follows, as doc/RELEASE.base.md wants: the semver file env_var.sh
reads, the eight pyproject files, npm, CLAUDE.md and the supported-version
note. The contracts/compatibility.json row stays at 1.7.0, attesting a tested
mobile pairing and not the current version. The todo.py comment names no
version any more, the repository's own being marked « default » in the
supported-version file. Checked: ERPLIBRE_VERSION=1.8.0, 17/8/10/2/2 parity,
version tests green.

Assisted-by: Claude Opus 5
2026-09-04 05:57:20 -04:00
f0a1457c20 [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
2026-09-04 05:34:45 -04:00
0e5441ac39 [ADD] commentaires : un relevé non bloquant, sa règle, le code nettoyé
Rien ne relevait les commentaires hors convention. L'outil lit commentaires et
docstrings, jamais le code autour, et rend deux familles inégales :
l'identifiant — adresse, courriel, chemin de compte, nom de la liste privée —
est une trouvaille ; le récit — témoignage, date, personne — un signal à relire.

Le hook pre-commit le lance sur l'index, sort toujours en 0 — un contrôle
bloquant à cette échelle se fait désinstaller — et parle quand l'outil échoue.
La règle du générateur et sa doc portent le nettoyage au fur et à mesure, et
l'exemple d'un interdit s'invente : base, adresse, compte et hôte en prennent un.

L'écran du contexte est posé, sans entrée de menu. Vérifié : 252 tests des six
fichiers d'essai touchés passent.

--- EN ---

Nothing reported the comments that break the convention. The tool reads
comments and docstrings, never the code around them, and returns two unequal
families: identifying data — address, e-mail, account path, private-list name
— is a finding; narrative — witness marker, date, person — a signal to re-read.

The pre-commit hook runs it on the index, always exits 0 — a blocking check at
that scale gets uninstalled — and speaks when the tool fails. The generator
rule and its doc carry the clean-up as you go, and a forbidden thing's example
is invented: a real database, address, account and host each take one.

The context screen is in place, with no menu entry. Checked: 252 tests of the
six touched fixture files pass.

Assisted-by: Claude Opus 5
2026-08-30 06:08:30 -04:00
292a03be8d [ADD] run: choisir la base au démarrage, sans jamais bloquer
« ./run.sh » sans argument partait sans base et l'on choisissait dans le
gestionnaire web. Il choisit maintenant : une seule base, il démarre
dessus ; plusieurs, il affiche un menu numéroté.

Ce qui décide n'est pas le menu mais l'endroit où il ne doit PAS s'ouvrir.
systemd écrit « ExecStart=/bin/bash …/run.sh » sans argument, avec
Restart=always : une question posée là serait une boucle de redémarrage.
Le défaut implicite exige donc un terminal sur stdin ET sur stderr — pas
stdout, qui est toujours un tube dans la substitution qui nous lit.
Mesuré : sans terminal, la ligne d'arguments est identique à l'octet et
la sonde, qui coûte 0,8 s, n'est jamais appelée.

--- EN ---

« ./run.sh » with no argument started without a database and one picked
in the web manager. It now picks: a single database, it starts on it;
several, it shows a numbered menu.

What decides is not the menu but where it must NOT open. systemd writes
« ExecStart=/bin/bash …/run.sh » with no argument and Restart=always: a
question asked there would be a restart loop. The implicit default
therefore requires a terminal on stdin AND on stderr — not stdout, which
is always a pipe inside the substitution that reads us. Measured: with no
terminal the argument line is byte-for-byte identical and the 0.8 s probe
is never called.

Assisted-by: Claude Opus 5
2026-08-23 17:26:41 -04:00
f39b2e9451 [UPD] support: drop Ubuntu 20.04/22.04, add AlmaLinux and Rocky
Ubuntu 20.04 and 22.04 leave EVERY architecture, not just s390x. pikepdf
needs qpdf 12.2, whose build requires C++20, while focal ships GCC 9 and
publishes no g++-10 for s390x at all. Python 3.8, node 10, cargo 0.67 and
OpenSSL 1.1.1 each had a workaround; the pile of them did not. 18.04
follows, already off the lists. The refusal lands before any apt, this
script also serving existing machines.

AlmaLinux 9 and 10, Rocky 9 and 10 join the catalog on all four
architectures: the twelve "latest" URLs were opened, with no index to
parse unlike Fedora. They would have booted unreachable though -- the
cloud-config forced "groups: users, sudo", but the RHEL family has no
sudo group, only wheel, and an unknown group makes useradd fail, hence no
password and no key. The very trap already known for Debian, repeated
elsewhere. Host side, EPEL and CRB are enabled: without them most -devel
packages are missing, silently.

The server / graphical choice gains Cinnamon, the Linux Mint desktop,
from the distribution's own repositories. Mint's repository is set aside:
plain HTTP, and i386/amd64 only, which would rule out arm64 and s390x.
Along the way, dnf now installs an ENVIRONMENT rather than a group --
"gnome-desktop" brings gdm and gnome-shell but not base-x, hence no X
server.

--- FR ---

Ubuntu 20.04 et 22.04 partent de TOUTES les architectures, pas seulement
de s390x. pikepdf réclame qpdf 12.2, dont la compilation exige C++20,
quand focal livre GCC 9 et ne publie même pas de g++-10 pour s390x.
Python 3.8, node 10, cargo 0.67 et OpenSSL 1.1.1 avaient chacun leur
contournement ; leur accumulation, non. 18.04 suit, déjà hors des
listes. Le refus tombe avant tout apt, ce script servant aussi les
machines existantes.

AlmaLinux 9 et 10, Rocky 9 et 10 entrent au catalogue, sur les quatre
architectures : les douze URL « latest » ont été ouvertes, aucun index à
analyser contrairement à Fedora. Elles auraient pourtant démarré
inaccessibles — le cloud-config imposait « groups: users, sudo », or la
famille RHEL n'a pas de groupe sudo mais wheel, et un groupe inconnu fait
échouer useradd, donc ni mot de passe ni clé. C'est le piège déjà connu
pour Debian, reproduit ailleurs. Côté hôte, EPEL et CRB sont activés :
sans eux la plupart des -devel manquent, en silence.

Le choix serveur / graphique gagne Cinnamon, le bureau de Linux Mint,
depuis les dépôts de la distribution. Le dépôt de Mint lui-même est
écarté : il est en HTTP nu et ne publie que i386 et amd64, ce qui
exclurait arm64 et s390x. Au passage, dnf installe désormais un
ENVIRONNEMENT et non un groupe — « gnome-desktop » apporte gdm et
gnome-shell mais pas base-x, donc pas de serveur X.

Assisted-by: Claude Opus 5
2026-08-16 23:33:49 -04:00
16aecc2d33 [ADD] mail: read and send email from the TODO CLI
An IMAP/SMTP client in the menu, with its tests against real servers. Most
of the work went into refusals: an application password is named only when
the server actually refuses, an accented password is reported as never
having left the machine, and a refusal is recognised by what the server
SAYS rather than by matching its wording. A malformed date no longer takes
the whole folder down, and a received email is never read as markup.

--- FR ---

Un client IMAP/SMTP dans le menu, avec ses tests contre de vrais serveurs.
L'essentiel du travail porte sur les refus : le mot de passe d'application
n'est nommé que lorsque le serveur refuse vraiment, un mot de passe accentué
est signalé comme n'ayant jamais quitté la machine, et un refus se reconnaît
à ce que le serveur DIT plutôt qu'à ses mots. Une date illisible n'emporte
plus le dossier entier, et un courriel reçu n'est jamais lu comme du balisage.

Assisted-by: Claude Opus 5
2026-08-16 03:56:34 -04:00
93cf203b64 [FIX] doc agent translation 2026-03-08 17:39:20 -04:00
45160289f9 [ADD] claude agent information 2026-03-08 16:09:44 -04:00
7d1ad1866e [FIX] doc markdown french accent 2026-03-07 00:46:05 -05:00
8e7fab76a9 [ADD] doc FAQ.md guide support wkhtmltopdf for recent version 2026-03-07 00:46:05 -05: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
4a83999ace [UPD] typo certbot 2026-01-10 04:52:39 -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
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
a1b9c98b5f [IMP] refactoring to support multiple version of Odoo
- change path odoo to support multiple
- conf pycharm exclude folder
- refactor run/test/coverage by use same script
2025-10-31 01:32:11 -04:00
9b55fe1597 [UPD] doc FAQ about killing firefox marionette 2025-08-07 03:32:16 -04:00
c1341a4198 [UPD] change 1.5.0 to 1.6.0 2025-04-25 23:25:43 -04:00
4c2909662e [UPD] doc release and changelog 2025-04-25 23:21:46 -04:00
4f39f86cc5 Merge branch 'develop_support_arch_linux'
- Upgrade odoo 14 and 16
- Improve selenium odoo navigation and recording
- Improve installation ERPLibre and docker build
2025-04-12 17:12:23 -04:00
Alexandre Ferreira Benevides
4e54ead47a [ADD] Added info for the update_dns_cloudflare script and production md file
Signed-off-by: Alexandre Ferreira Benevides <alexandre.ferreira.benevides@gmail.com>
2024-12-29 00:36:23 -05:00
e2e7a61ad6 [UPD] when using stop-after-init, enable no-http
- in many case, no need http when run with argument stop-after-init,
because we want to execute without gui
2024-12-03 23:10:16 -05:00
0f8d5aea8e [ADD] FAQ.md: support fatal: GitCommandError: git command failure
- this error occur after an installation on old workspace, need some
cleanup
2024-12-03 23:10:16 -05:00
d3d9aa189d [ADD] doc development: pre-commit guide 2024-12-01 04:49:34 -05: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
0ca2d1073c [ADD] doc migration: guide to do Odoo migration 2024-11-02 02:26:02 -04:00
71b7c28b71 [UPD] doc FAQ inotify watches for PyCharm 2024-11-02 02:26:02 -04:00
97b306fcd8 [UPD] doc: windows installation update python 3.10.14 2024-11-02 02:26:02 -04:00
aa0cf69b6f [ADD] doc poetry: proxy with poetry information
- this guide explain how to configure a proxy to reduce downloading
limitation
2024-11-02 02:26:02 -04:00
Oussama6214239
f1776b6c75 [UPD] doc : Mise à jour du guide d'installation sous Windows. 2024-11-02 02:26:02 -04:00
821e06ac5c [UPD] doc: poetry tips 2024-08-25 01:31:22 -04:00
a6e25f5234 [ADD] doc FAQ: help when got non-verlapping IPv4 address pool docker-compose 2024-08-25 01:12:03 -04:00
2fc9aacba7 [UPD] FAQ: how manage git-daemon error bind 2024-08-25 01:09:04 -04:00
e65984e13a [ADD] TODO + doc schema 2024-08-25 00:13:00 -04:00
6c1522ff99 [ADD] doc FAQ: docker when missing network interface 2024-05-03 23:13:59 -04:00
b22cbe879e [UPD] remove netrpc_interface from configuration 2024-05-03 23:13:59 -04:00
81c4528b57 [UPD] replace docker-compose to docker compose 2024-05-03 23:13:59 -04:00
a7ce311f28 [ADD] doc FAQ: kill git-daemon when already run 2023-12-02 14:14:23 -05:00
91ab1e1a8e [UPD] doc production: better guide to move to dev a prod 2023-09-07 15:19:13 -04:00
722ab6971f [UPD] release 1.5.0 2023-07-07 03:10:36 -04:00
f3a5bc9399 [UPD] multilingual-markdown: update to last version v1.0.3 2023-07-07 01:04:38 -04:00
Shajaan Balasingam
18d6581b1e [ADD] WINDOWS_INSTALLATION: Added documention on a GUI
If you want to use WSL, you can also install a simple GUI to make programming easier.
2023-04-12 12:53:33 -04:00
de4c7196d2 [UPD] doc FAQ: add OSX error current limit exceeds maximum limit 2023-03-07 15:41:24 -05:00
c511dedb6f [FIX] doc cg theme_test: typo 2023-02-14 17:40:11 -05:00
castiel10k
b913300b5b [UPD] Verification - is ERPLibre running correctly
Added lines to explain how to verify if ERPLibre is running correclty.
2023-02-14 16:55:41 -05:00
5535a81213 [REM] script install OSX: move docker installation to FAQ 2023-02-14 16:01:43 -05:00
892e64b0cb [FIX] doc code_generator: change name module theme 2023-02-08 15:29:34 -05:00
castiel10k
719a5baf26 [ADD] Creation of WINDOWS_INSTALLATION.md 2023-02-08 14:15:30 -05:00