From 669a87f8b76c13c7f86d9555c5da7821449dbf6e Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Fri, 28 Oct 2022 09:24:41 +0200 Subject: [PATCH] [bitnami/odoo] Release 22.0.0 (#13161) * [bitnami/odoo] Release 22.0.0 updating components versions Signed-off-by: Bitnami Containers * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers * [bitnami/odoo] Fix cypress test for version 16 Signed-off-by: David Gomez * [bitnami/odoo] Unify installation and inviting user tests Signed-off-by: David Gomez Signed-off-by: Bitnami Containers Signed-off-by: David Gomez Co-authored-by: David Gomez --- .../cypress/cypress/integration/odoo_spec.js | 36 +++++++++---------- bitnami/odoo/Chart.lock | 8 ++--- bitnami/odoo/Chart.yaml | 4 +-- bitnami/odoo/README.md | 4 +-- bitnami/odoo/values.yaml | 2 +- 5 files changed, 26 insertions(+), 28 deletions(-) diff --git a/.vib/odoo/cypress/cypress/integration/odoo_spec.js b/.vib/odoo/cypress/cypress/integration/odoo_spec.js index 438dae2999..92dee5966a 100644 --- a/.vib/odoo/cypress/cypress/integration/odoo_spec.js +++ b/.vib/odoo/cypress/cypress/integration/odoo_spec.js @@ -1,38 +1,36 @@ /// import { random } from '../support/utils'; -it('allows installing/uninstalling an application', () => { +it('allows installing/uninstalling an application and inviting new users', () => { cy.login(); cy.get('[title="Home Menu"]').click(); cy.contains('a', 'Apps').click(); cy.get('[title="Sales"]').within(() => { - cy.contains('Install').click(); + cy.get('button[name="button_immediate_install"]').click(); }); cy.reload(); - cy.get('[title="Home Menu"]').click(); - cy.contains('a', 'Apps').click(); - cy.get('[role="searchbox"]').type('Discuss {enter}'); - cy.contains('[role="article"]', 'Discuss').within(() => { - cy.get('a[title*="menu"]').click({ force: true }); - }); - cy.contains('Uninstall').click({ force: true }); - cy.contains('Confirm').click(); - cy.reload(); - - cy.get('[title="Home Menu"]').click(); - cy.contains('a', 'Discuss').should('not.exist'); -}); - -it('allows inviting new users', () => { - cy.login(); cy.get('[title="Home Menu"]').click(); cy.contains('Settings').click(); cy.fixture('users').then((user) => { cy.get('.o_user_emails').type(`${random}.${user.newUser.email}`); cy.contains('button', 'Invite').click(); - cy.get('#invite_users_setting').within(() => { + cy.get('div[class*=invite_users]').within(() => { cy.contains(`${random}.${user.newUser.email}`); }); }); + + cy.get('[title="Home Menu"]').click(); + cy.contains('a', 'Apps').click(); + cy.get('[role="searchbox"]').type('Discuss {enter}'); + cy.contains('1-1'); + cy.contains('[role="article"]', 'Discuss').within(() => { + cy.get('button[class*="dropdown-toggle"]').click({ force: true }); + }); + cy.contains('Uninstall').click({ force: true }); + cy.get('button[name="action_uninstall"]').click(); + cy.reload(); + + cy.get('[title="Home Menu"]').click(); + cy.contains('a', 'Discuss').should('not.exist'); }); diff --git a/bitnami/odoo/Chart.lock b/bitnami/odoo/Chart.lock index 7cbd76bbb9..4b97a87d64 100644 --- a/bitnami/odoo/Chart.lock +++ b/bitnami/odoo/Chart.lock @@ -1,9 +1,9 @@ dependencies: - name: postgresql repository: https://charts.bitnami.com/bitnami - version: 11.9.8 + version: 11.9.12 - name: common repository: https://charts.bitnami.com/bitnami - version: 2.0.3 -digest: sha256:af870c28ab6287b55f59d1674903c03294fedbf4a740007528fdd812cd0c44dc -generated: "2022-10-10T08:42:03.613291218Z" + version: 2.0.4 +digest: sha256:b195376ec382de8b57a72e6b586189b8c8e588888bde2925b570755503db1c06 +generated: "2022-10-26T14:17:25.789725086Z" diff --git a/bitnami/odoo/Chart.yaml b/bitnami/odoo/Chart.yaml index 701efa7827..15c2b4d812 100644 --- a/bitnami/odoo/Chart.yaml +++ b/bitnami/odoo/Chart.yaml @@ -1,7 +1,7 @@ annotations: category: CRM apiVersion: v2 -appVersion: 15.0.20221010 +appVersion: 16.0.20221015 dependencies: - condition: postgresql.enabled name: postgresql @@ -29,4 +29,4 @@ name: odoo sources: - https://github.com/bitnami/containers/tree/main/bitnami/odoo - https://www.odoo.com/ -version: 21.6.5 +version: 22.0.0 diff --git a/bitnami/odoo/README.md b/bitnami/odoo/README.md index 4cd5e61efe..8110712781 100644 --- a/bitnami/odoo/README.md +++ b/bitnami/odoo/README.md @@ -7,7 +7,7 @@ Odoo is an open source ERP and CRM platform, formerly known as OpenERP, that can [Overview of Odoo](https://www.odoo.com/) Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement. - + ## TL;DR ```console @@ -82,7 +82,7 @@ The command removes all the Kubernetes components associated with the chart and | `diagnosticMode.args` | Args to override all containers in the the statefulset | `["infinity"]` | | `image.registry` | Odoo image registry | `docker.io` | | `image.repository` | Odoo image repository | `bitnami/odoo` | -| `image.tag` | Odoo image tag (immutable tags are recommended) | `15.0.20221010-debian-11-r0` | +| `image.tag` | Odoo image tag (immutable tags are recommended) | `16.0.20221015-debian-11-r0` | | `image.digest` | Odoo image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | `""` | | `image.pullPolicy` | Odoo image pull policy | `IfNotPresent` | | `image.pullSecrets` | Odoo image pull secrets | `[]` | diff --git a/bitnami/odoo/values.yaml b/bitnami/odoo/values.yaml index b984bb85c6..0994ee7f1c 100644 --- a/bitnami/odoo/values.yaml +++ b/bitnami/odoo/values.yaml @@ -69,7 +69,7 @@ diagnosticMode: image: registry: docker.io repository: bitnami/odoo - tag: 15.0.20221010-debian-11-r0 + tag: 16.0.20221015-debian-11-r0 digest: "" ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'