Commit Graph
801 Commits
Author SHA1 Message Date
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
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