@wpmoo/odoo 0.8.66 → 0.8.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,19 +1,21 @@
1
- ![WPMoo Odoo development workflow tooling](docs/assets/wpmoo-banner.png)
1
+ ![WPMoo Tool for Odoo development workflows](docs/assets/wpmoo-banner.png)
2
2
 
3
- [![CI](https://img.shields.io/github/actions/workflow/status/wpmoo-org/wpmoo-odoo/ci.yml?branch=main&label=CI&style=flat-square)](https://github.com/wpmoo-org/wpmoo-odoo/actions/workflows/ci.yml) [![GitHub](https://img.shields.io/badge/GitHub-181717?logo=github&style=flat-square)](https://github.com/wpmoo-org/wpmoo-odoo) [![npm](https://img.shields.io/npm/v/@wpmoo/odoo?label=npm&logo=npm&style=flat-square&color=blue)](https://www.npmjs.com/package/@wpmoo/odoo) [![coverage](https://img.shields.io/codecov/c/github/wpmoo-org/wpmoo-odoo?branch=main&label=coverage&logo=codecov&style=flat-square&color=blue)](https://codecov.io/gh/wpmoo-org/wpmoo-odoo) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square)](LICENSE) [![Odoo Tool](https://img.shields.io/badge/Odoo-Tool-714B67?style=flat-square)](https://github.com/wpmoo-org/wpmoo-odoo) [![Buy Me a Coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-FFDD00?logo=buymeacoffee&logoColor=000000&style=flat-square)](https://www.buymeacoffee.com/cangir) [![Patreon](https://img.shields.io/badge/Patreon-Support-F96854?logo=patreon&logoColor=white&style=flat-square)](https://www.patreon.com/wpmoo)
3
+ [![CI](https://img.shields.io/github/actions/workflow/status/wpmoo-org/wpmoo-odoo/ci.yml?branch=main&label=CI&style=flat-square)](https://github.com/wpmoo-org/wpmoo-odoo/actions/workflows/ci.yml) [![GitHub](https://img.shields.io/badge/GitHub-181717?logo=github&style=flat-square)](https://github.com/wpmoo-org/wpmoo-odoo) [![npm](https://img.shields.io/npm/v/@wpmoo/odoo?label=npm&logo=npm&style=flat-square&color=blue)](https://www.npmjs.com/package/@wpmoo/odoo) [![coverage](https://img.shields.io/codecov/c/github/wpmoo-org/wpmoo-odoo?branch=main&label=coverage&logo=codecov&style=flat-square&color=blue)](https://codecov.io/gh/wpmoo-org/wpmoo-odoo) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square)](LICENSE) [![WPMoo Tool](https://img.shields.io/badge/WPMoo-Tool-714B67?style=flat-square)](https://github.com/wpmoo-org/wpmoo-odoo) [![Buy Me a Coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-FFDD00?logo=buymeacoffee&logoColor=000000&style=flat-square)](https://www.buymeacoffee.com/cangir) [![Patreon](https://img.shields.io/badge/Patreon-Support-F96854?logo=patreon&logoColor=white&style=flat-square)](https://www.patreon.com/wpmoo)
4
4
 
5
- # WPMoo Odoo
5
+ # WPMoo Tool
6
6
 
7
- WPMoo Odoo is a development-first CLI for creating and operating Docker Compose based Odoo environments with source repositories managed as Git submodules.
7
+ WPMoo Tool is a development-first CLI for creating and operating Docker Compose based environments for Odoo, with source repositories managed as Git submodules.
8
8
 
9
9
  It gives Odoo teams a repeatable environment layout, a guided cockpit for daily work, direct commands for automation, and recovery tools that refresh generated files without touching product source code.
10
10
 
11
+ WPMoo Tool is an independent project and is not affiliated with, endorsed by, or sponsored by Odoo S.A. Odoo is a trademark of Odoo S.A.
12
+
11
13
  ## Development Status
12
14
 
13
15
  > [!IMPORTANT]
14
- > **Pre-1.0 active development:** WPMoo Odoo has not reached `1.0.0` yet. Until the `1.0.0` release, use it as a preview tool for evaluation, local trials, and feedback rather than a dependency for critical production workflows. Setup conventions and command behavior may still change between pre-1.0 releases.
16
+ > **Pre-1.0 active development:** WPMoo Tool has not reached `1.0.0` yet. Until the `1.0.0` release, use it as a preview tool for evaluation, local trials, and feedback rather than a dependency for critical production workflows. Setup conventions and command behavior may still change between pre-1.0 releases.
15
17
 
16
- ## Why WPMoo Odoo
18
+ ## Why WPMoo Tool
17
19
 
18
20
  - Create a local Odoo development environment from a dev repository and one or more source repositories.
19
21
  - Keep product source repositories under `odoo/custom/src/private`, `odoo/custom/src/oca`, or `odoo/custom/src/external` as Git submodules pinned to the selected Odoo branch.
@@ -423,7 +425,7 @@ npx @wpmoo/odoo doctor --fix
423
425
 
424
426
  ## External Resources
425
427
 
426
- WPMoo Odoo keeps the package small by copying external resources into generated environments:
428
+ WPMoo Tool keeps the package small by copying external resources into generated environments:
427
429
 
428
430
  ```text
429
431
  gh:wpmoo-org/odoo-docker-compose
package/dist/cli.js CHANGED
@@ -831,7 +831,7 @@ export async function runCli(cliArgv = process.argv.slice(2), cwd = process.cwd(
831
831
  outro(`Created Odoo dev overlay in ${resolvedOptions.target}. Review staged changes, then commit.`);
832
832
  return;
833
833
  }
834
- intro('WPMoo Odoo Dev');
834
+ intro('WPMoo Tool');
835
835
  while (true) {
836
836
  try {
837
837
  const status = await getEnvironmentStatus(cwd);
@@ -150,7 +150,7 @@ async function assertEnvironmentRoot(cwd) {
150
150
  await access(join(cwd, markerPath));
151
151
  }
152
152
  catch {
153
- throw new Error('Daily actions must be run from a WPMoo Odoo environment root containing .wpmoo/odoo.json.');
153
+ throw new Error('Daily actions must be run from a WPMoo Tool environment root containing .wpmoo/odoo.json.');
154
154
  }
155
155
  }
156
156
  async function assertScriptExists(cwd, script) {
package/dist/help.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export function renderHelp() {
2
2
  return `@wpmoo/odoo
3
3
 
4
- WPMoo Odoo lifecycle tooling.
4
+ WPMoo Tool for Odoo lifecycle workflows.
5
5
 
6
6
  Usage:
7
7
  npx @wpmoo/odoo
package/dist/templates.js CHANGED
@@ -1,3 +1,7 @@
1
+ import { packageName, packageVersion } from './version.js';
2
+ function fallbackPackageSpec() {
3
+ return `${packageName()}@${packageVersion()}`;
4
+ }
1
5
  export function defaultCommunityAddons(product) {
2
6
  return [product];
3
7
  }
@@ -218,7 +222,7 @@ exposes them through \`/mnt/wpmoo-addons\`.
218
222
  \`./moo\` routes day-to-day service and module workflows to local scripts in
219
223
  \`./scripts/\` (for example \`start\`, \`logs\`, \`update\`, \`test\`, \`snapshot\`).
220
224
  \`./moo status\` and \`./moo doctor\` are package fallback commands that run via
221
- \`npx --yes @wpmoo/odoo@latest ...\`.
225
+ \`npx --yes ${fallbackPackageSpec()} ...\`.
222
226
 
223
227
  ### Start And Inspect Services
224
228
 
@@ -547,7 +551,7 @@ case "$command" in
547
551
  run_script ./scripts/pot.sh "$@"
548
552
  ;;
549
553
  *)
550
- exec npx --yes @wpmoo/odoo@latest "$@"
554
+ exec npx --yes ${fallbackPackageSpec()} "$@"
551
555
  ;;
552
556
  esac
553
557
  `;
@@ -705,7 +709,7 @@ Useful maintenance commands:
705
709
 
706
710
  Daily script delegation vs package fallback:
707
711
  - \`./moo start\`, \`logs\`, \`install\`, \`update\`, \`test\`, \`snapshot\`, and related runtime tasks delegate to local \`./scripts/*.sh\`.
708
- - \`./moo status\` and \`./moo doctor\` are package fallback commands routed to \`npx --yes @wpmoo/odoo@latest ...\`.
712
+ - \`./moo status\` and \`./moo doctor\` are package fallback commands routed to \`npx --yes ${fallbackPackageSpec()} ...\`.
709
713
 
710
714
  Only report completion after the relevant update/test/lint command exits cleanly.
711
715
  `;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wpmoo/odoo",
3
- "version": "0.8.66",
4
- "description": "WPMoo Odoo lifecycle tooling for development, staging, and production workflows.",
3
+ "version": "0.8.68",
4
+ "description": "WPMoo Tool for Odoo development, staging, and production lifecycle workflows.",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",