diff --git a/project_task_sign_oca/README.rst b/project_task_sign_oca/README.rst index 2f1f78aa..31d4125d 100644 --- a/project_task_sign_oca/README.rst +++ b/project_task_sign_oca/README.rst @@ -38,10 +38,10 @@ This module allows you to generate manual and automatic signature requests from Configuration ============= -#. Go to Sign > Roles and create a role with the following data: +#. Go to Sign > Settings > Roles and create a role with the following data: - Partner type: Expression -- Expression: ${object.partner_id.id} +- Expression: {{object.partner_id.id}} #. Go to Sign > Templates and create a template with the following data: diff --git a/project_task_sign_oca/__manifest__.py b/project_task_sign_oca/__manifest__.py index cab8dc72..bf7317eb 100644 --- a/project_task_sign_oca/__manifest__.py +++ b/project_task_sign_oca/__manifest__.py @@ -5,7 +5,7 @@ "name": "Project Task Sign Oca", "summary": """ Project Task Sign Oca""", - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "license": "AGPL-3", "author": "Escodoo, Odoo Community Association (OCA)", "website": "https://github.com/OCA/sign", diff --git a/project_task_sign_oca/demo/sign_oca_role.xml b/project_task_sign_oca/demo/sign_oca_role.xml index 72077361..0c438940 100644 --- a/project_task_sign_oca/demo/sign_oca_role.xml +++ b/project_task_sign_oca/demo/sign_oca_role.xml @@ -6,7 +6,7 @@ Task Customer expression - ${object.partner_id.id} + {{object.partner_id.id}} diff --git a/project_task_sign_oca/readme/CONFIGURE.rst b/project_task_sign_oca/readme/CONFIGURE.rst index 47285ec0..6a0dcb3d 100644 --- a/project_task_sign_oca/readme/CONFIGURE.rst +++ b/project_task_sign_oca/readme/CONFIGURE.rst @@ -1,7 +1,7 @@ -#. Go to Sign > Roles and create a role with the following data: +#. Go to Sign > Settings > Roles and create a role with the following data: - Partner type: Expression -- Expression: ${object.partner_id.id} +- Expression: {{object.partner_id.id}} #. Go to Sign > Templates and create a template with the following data: diff --git a/project_task_sign_oca/static/description/index.html b/project_task_sign_oca/static/description/index.html index b9a2d854..e6bfe2b6 100644 --- a/project_task_sign_oca/static/description/index.html +++ b/project_task_sign_oca/static/description/index.html @@ -388,11 +388,11 @@

Project Task Sign Oca

Configuration

    -
  1. Go to Sign > Roles and create a role with the following data:
  2. +
  3. Go to Sign > Settings > Roles and create a role with the following data:
  1. Go to Sign > Templates and create a template with the following data:
  2. diff --git a/project_task_sign_oca/tests/test_project_task_sign_oca.py b/project_task_sign_oca/tests/test_project_task_sign_oca.py index 3d90b957..28b99e07 100644 --- a/project_task_sign_oca/tests/test_project_task_sign_oca.py +++ b/project_task_sign_oca/tests/test_project_task_sign_oca.py @@ -1,10 +1,10 @@ # Copyright 2024 - TODAY, Wesley Oliveira # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -from odoo.tests.common import Form, SavepointCase +from odoo.tests.common import Form, TransactionCase -class TestProjectTaskSignOca(SavepointCase): +class TestProjectTaskSignOca(TransactionCase): @classmethod def setUpClass(cls): super().setUpClass()