Commit Graph
785 Commits
Author SHA1 Message Date
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
Janik von Rotz 456c9ce9ea feat(task): move git folder functions to taskfile.build and update help documentation 2026-03-04 09:21:23 +01:00
Janik von Rotz 2e96372f11 feat(task): add __init__.py file during module documentation generation 2026-03-03 14:16:12 +01:00
Janik von Rotz d4163be685 feat(task): add browse command to open Odoo URL after upgrade and update .gitignore for Odoo Build tmp directory 2026-02-26 12:03:42 +01:00
Janik von Rotz 039faa39d6 feat(task): update module migration logic for Odoo 19.0 and replace product_attribute with oca/sale-workflow submodule 2026-02-26 09:48:37 +01:00
Janik von Rotz 051077bea3 feat(deps): update Python version to 3.13 and upgrade dependencies and submodules 2026-02-26 08:43:48 +01:00
Janik von Rotz 968ab37b1f feat(task): add conditional check for configure steps to avoid errors when variables are empty 2026-02-25 11:28:57 +01:00
Janik von Rotz 2435e1710c feat(task): enhance rename-production logic with conditional filestore handling and improved container operations 2026-02-23 13:30:08 +01:00
Janik von Rotz b7c378673c feat(task): add stop-container step and refactor rename-production logic 2026-02-23 09:44:29 +01:00
Janik von Rotz e24d6e2d5f fix(task): correct warning message for clear-assets step 2026-02-21 11:49:24 +01:00
Janik von Rotz 12222b15af feat(task): include themes directory in version regex search 2026-02-20 17:25:41 +01:00
Janik von Rotz e64ae8b776 feat(task): add FIXME placeholders for all-test and all-production upgrade commands 2026-02-20 11:24:19 +01:00
Janik von Rotz e71a1e0f18 feat(task): rename test and production upgrade commands to upgrade-test and upgrade-production 2026-02-20 11:20:22 +01:00
Janik von Rotz 71baa744bc refactor(task): remove lint-module and lint-module-repo commands from task script and changelog 2026-02-20 10:35:41 +01:00
Janik von Rotz 2f264c4efa feat(helm): implement secret management, menu for values, and value evaluation with tests 2026-02-17 10:49:50 +01:00
Janik von Rotz aab528adaa feat(test): disable test preparation and execution steps 2026-02-17 08:29:33 +01:00
Janik von Rotz ae0f3328e8 fix(database): use correct variable name in check-database-initialized script 2026-02-16 13:55:18 +01:00
Janik von Rotz 48305ee815 feat(task): set ODOO_DATABASE to 'test' in test setup 2026-02-11 21:12:34 +01:00
Janik von Rotz dca6ee9377 BREAKING CHANGE: rename ODOO_DATABASE to DB_NAME across all scripts and templates
The environment variable `ODOO_DATABASE` has been renamed to `DB_NAME` in all scripts, templates, and documentation. Update your `.env` files and any custom scripts accordingly.
2026-02-11 21:08:32 +01:00
Janik von Rotz 5992df15c3 refactor(task): rename git submodule commands to git folder for consistency and clarity 2026-01-29 14:26:01 +01:00
Janik von Rotz f000116054 refactor(task): simplify create-module output messages for clarity 2026-01-28 18:08:00 +01:00
Janik von Rotz d8fb1529c9 fix(task): correct venv activation and refine upgrade-odoo step matching logic 2026-01-28 18:03:18 +01:00
Janik von Rotz 9a310819f5 fix(task): improve command parsing and quoting in task script 2026-01-28 09:26:52 +01:00
Janik von Rotz eabe6ac7d3 feat(env): standardize .env file handling and update SMTP server config 2026-01-27 09:09:52 +01:00
Janik von Rotz ff07b5a226 feat(upgrade): add env and conf steps to upgrade-odoo task and update Odoo 19.0 module versions
- Added 'env' step to display environment variables of the target Odoo container
- Added 'conf' step to display odoo.conf configuration file of the target Odoo container
- Updated module versions for Odoo 19.0 including management_system, enterprise, odoo, and themes repositories
2026-01-23 15:16:27 +01:00
Janik von Rotz d32a0ed885 feat(nav): rename 'Help' to 'Upgrade' in navbar and remove redundant help doc generation
- Updated navbar links in .vuepress/config.js to replace 'Help' with 'Upgrade'
- Removed update-help-doc function and its usage from task script
- Deleted task.md file as it's no longer generated or needed
- Adjusted menu structure to reflect the new 'Upgrade' section
2026-01-23 13:01:16 +01:00