Commit Graph
810 Commits
Author SHA1 Message Date
Janik von Rotz b6e293d937 feat(snippets): remove obsolete snippets and enhance task script with validation checks 2026-05-04 08:51:55 +02:00
Janik von Rotz c833752e2a feat(task): update partner_firstname migration version to 9.0.0 and adjust test script 2026-05-04 08:20:21 +02:00
Janik von Rotz 3bbc034619 feat(task): refine test-project script with cleanup improvements and consistent messaging 2026-05-04 08:20:21 +02:00
Janik von Rotz e9780ffe8e feat(task): update test-image-script to reflect venv migration to /opt/odoo and fix exec usage 2026-04-30 17:32:13 +02:00
Janik von Rotz 542623bccd feat(task): refactor test-image-script to handle images/odoo, odoo-cli, and odoo-upgrade directly 2026-04-30 11:57:32 +02:00
Janik von Rotz d41b7f3b94 feat(images/odoo): migrate venv to /opt/odoo and update related scripts 2026-04-30 10:39:21 +02:00
Janik von Rotz fb0ccee456 feat(task): add data option to create-module with template file 2026-04-28 10:28:49 +02:00
Janik von Rotz 834f8b8124 feat(task): remove .gitmodules.csv and update submodule commits for version 19.0 2026-04-27 11:30:09 +02:00
Janik von Rotz f8c377764e feat(task): remove .gitmodules.csv and use save-git-folder for version saving 2026-04-27 11:28:40 +02:00
Janik von Rotz c62fe2abba feat(task): use git -C for checkout in create-repo and update 19.0 submodules 2026-04-22 08:39:17 +02:00
Janik von Rotz 36ad5be8e0 feat(task): refactor get-module-version to use Python ast for parsing manifest version 2026-04-22 08:26:33 +02:00
Janik von Rotz 7dc3fd052b feat(odoo): support loading db credentials from files and enhance Python package management with requirements.txt 2026-04-20 10:39:44 +02:00
Janik von Rotz 1ff6bc376e feat(task): fix module variable typo and update git submodule references for version 19.0 2026-04-16 13:21:35 +02:00
Janik von Rotz d2010f78ba feat(task): add variable names to empty checks and update help rows 2026-04-16 11:19:33 +02:00
Janik von Rotz a3aa7dbc57 feat(snippets): fix xpath order and improve error messages in task script 2026-04-15 13:57:48 +02:00
Janik von Rotz 33665b8692 fix(task): remove postgresql-devel from apt install dependencies 2026-04-02 14:45:53 +02:00
Janik von Rotz 1051fe821a fix(task): add postgresql-devel to apt install dependencies 2026-04-02 14:37:32 +02:00
Janik von Rotz c598b0c42b feat(task): enhance module creation with security option and quoted dependencies 2026-03-26 11:28:20 +01:00
Janik von Rotz 11d7072899 feat(dependencies): add search functionality and rename script to visualize-dependencies 2026-03-26 10:55:28 +01:00
Janik von Rotz 2ceeb1bc28 refactor(task): simplify odoo build script by removing redundant variable declaration 2026-03-25 09:46:36 +01:00
Janik von Rotz 6a49147599 feat(revision): release 15.0 2026-03-25 09:46:05 +01:00
Janik von Rotz 7ddfedb670 feat(task): refactor container tag variables and add revision tag for odoo image 2026-03-25 09:44:03 +01:00
Janik von Rotz 75fca6bcac feat(odoo-upgrade): update Dockerfile, requirements, and task script for improved tooling and compatibility 2026-03-24 16:07:28 +01:00
Janik von Rotz fb6938f2fc feat(task): remove push command and update odoocli references to odoo-cli 2026-03-23 14:06:37 +01:00
Janik von Rotz 03e23d1c99 feat(task): improve generate-module-docs to show org/repo in OCA readme generation 2026-03-23 12:10:32 +01:00
Janik von Rotz abd342c17c feat(build): refactor build commands, rename odoocli to odoo-cli, and add postgres version support to odoo-upgrade 2026-03-20 18:46:23 +01:00
Janik von Rotz 788b5b8626 feat(task): add create-repo and generate-repo-docs commands, rename help sections to DEVELOP and DOC 2026-03-20 14:49:05 +01:00
Janik von Rotz e9f89ae570 fix(task): improve error messages in generate-module-report function
- Update error message for $1 to indicate it should be a path
- Update error message for $2 to indicate it should be a model
- Enhance clarity for users when required parameters are missing
2026-03-17 17:16:21 +01:00
Janik von Rotz de68dd22ac refactor(task): update shell conditionals to use [[ for better string comparison
- Replace [ with [[ in conditional checks for improved robustness
- Add elif condition to set --with-demo only for Odoo 19.0
- Maintain existing logic for WITHOUT_DEMO flag handling
2026-03-16 13:14:20 +01:00
Janik von Rotz 7d90d7df84 refactor: simplify task script and update git submodule references
- Remove unused dotenv load/save commands
- Rename `oboobin` to `odoobin` for consistency
- Remove unused PASS_ENTRY variable
- Add ODOO_PARAM display in info output
- Remove stale.yml GitHub workflow
- Update .gitmodules.csv to reflect current submodule revisions and reduce redundancy
2026-03-13 08:36:09 +01:00
Janik von Rotz 4bca2781de fix(task): simplify inherit_id extraction and reorder variable declarations in install-snippet 2026-03-10 09:23:08 +01:00
Janik von Rotz 79acb3b6cd feat(upgrade): extract upgrade-odoo logic into separate script and update task help
Move the upgrade-odoo function implementation from the main task script into a new bin/upgrade-odoo file. Update the task script to source and delegate to the external script. Also update the help table section headers from <<<SECTION>>> to ===SECTION=== for consistent formatting.
2026-03-10 08:46:47 +01:00
Janik von Rotz 952bb3370a fix(task): correct typo in templated module message
Fix typo "mdoule" to "module" in the create-module function when echoing the templated file message.
2026-03-06 18:48:39 +01:00
Janik von Rotz 20828fdbb8 fix(task): correct typo in translation generation message
Fix typo "tranlstions" to "translations" in the generate-module-translation function when calling update-with-llm.
2026-03-06 17:27:17 +01:00
Janik von Rotz d52b2cc4f2 feat(create-module): add interactive test instructions prompt and demo.xml template
Enhance create-module to interactively prompt for test instructions, creating a tests/TEST_INSTRUCTIONS.rst file if requested. Add demo.xml template for demo data records and automatically create demo directory when demo is enabled. Update demo handling to use the new template file instead of hardcoded content.
2026-03-06 17:01:42 +01:00
Janik von Rotz 88a6a35cbf feat(task): add oboobin command and enhance create-module with interactive manifest templating
Introduce new `oboobin` command to execute odoo binary directly. Enhance `create-module` to interactively prompt for module title, summary, license, dependencies, and demo flag, then use envsubst to template the __manifest__.py file with these values. Remove hardcoded manifest values and security folder references. Rename security.xml template to root level for reuse. Update help table to include oboobin command.
2026-03-06 16:12:07 +01:00
Janik von Rotz b0ba6ae190 feat(snippets): add dedicated lint-snippets script and pre-commit hook, remove invalid snippets
Introduce a new `lint-snippets` Python script to validate snippet filenames (enforcing mint_system.module.[view/action].xml format with 4 dots/5 segments and alphanumeric/underscore characters) and XML structure. Add pre-commit hook to automatically run linting on staged snippet files. Remove 6 invalid snippets that failed linting: product search terms, bank statement kanban, DIN5008 header, and purchase report styling snippets. Update task script to use the new linting script instead of inline validation.
2026-03-05 18:37:01 +01:00
Janik von Rotz 45d3b4cb7d feat(snippets): add new snippets and improve linting validation
Add new snippets for bank statement kanban, DIN5008 header styling, product search terms, and purchase report styling. Enhance snippet linting validation to enforce filename format (mint_system.module.[view/action].xml with 3-4 dots) and validate segment character restrictions, improving consistency and preventing malformed snippet files.
2026-03-05 18:28:01 +01:00
Janik von Rotz 5e20a83776 refactor(snippets): remove inherit_id from data 2026-03-05 17:45:10 +01:00
Janik von Rotz 018f3c0f88 feat(task): add generate-module-translation command and update generate-module-repo to use template-repo
Introduce a new `generate-module-translation` command to generate module translations and update them with LLM. Refactor `generate-module-repo` to use the `template-repo` function for copying template files, improving code reuse. Update help table to include the new translation command. Adjust default branch in github-set-default-branch script to 18.0.
2026-03-05 17:32:55 +01:00
Janik von Rotz 559af2b186 feat(task): add generate-module-report command and shared variable export functions
Introduce a new `generate-module-report` command to generate report templates for Odoo modules. Extract common variable export logic into reusable `export-module-vars` and `export-module-inherit-vars` functions to reduce duplication across generate-module-* commands. Add `model_templates.xml` template for report generation. Update help table to reflect the new command order and include the report command.
2026-03-05 15:46:40 +01:00
Janik von Rotz 0dfe2bda34 fix(images): remove odoo-mcp image and related files
The odoo-mcp image has been removed along with its Dockerfile, LICENSE, README.md, and server script. References to odoo-mcp have been removed from the task script, pyproject.toml, and requirements.txt. The help table in the task script has been updated to remove the LLM section and its commands.
2026-03-05 09:50:45 +01:00
Janik von Rotz 5e93971443 fix(task): format manifest update message with proper indentation 2026-03-05 08:50:58 +01:00
Janik von Rotz ce656e8adc fix(task): activate virtual environment before executing command 2026-03-04 15:53:53 +01:00
Janik von Rotz 29af2c48d9 feat(task): update manifest update description to include more fields 2026-03-04 15:25:22 +01:00
Janik von Rotz 4fe0295e3c fix(task): use MODEL_NAME instead of model_name in manifest update 2026-03-04 14:42:16 +01:00
Janik von Rotz 3553babd1b fix(task): use MODEL_NAME instead of model_name in manifest update 2026-03-04 14:31:34 +01:00
Janik von Rotz 186978dfb4 feat(task): copy .gitmodules.csv in load-version and add project phase estimate prompt 2026-03-04 10:48:12 +01:00
Janik von Rotz d6af252ca2 feat(task): update list-git-folder help to use [path] instead of [grep] 2026-03-04 09:32:24 +01:00
Janik von Rotz 4ef4ce91da feat(task): update save-version to use relative path and copy .gitmodules.csv to versions directory 2026-03-04 09:30:40 +01:00