Skip to content

Commit

Permalink
[MIG] project_task_sign_oca: Migration to 15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
WesleyOliveira98 committed Sep 10, 2024
1 parent 7d7761e commit a4a6437
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions project_task_sign_oca/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion project_task_sign_oca/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion project_task_sign_oca/demo/sign_oca_role.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<record id="sign_role_project_task_customer" model="sign.oca.role">
<field name="name">Task Customer</field>
<field name="partner_type">expression</field>
<field name="expression_partner">${object.partner_id.id}</field>
<field name="expression_partner">{{object.partner_id.id}}</field>
</record>

</odoo>
4 changes: 2 additions & 2 deletions project_task_sign_oca/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
@@ -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:

Expand Down
4 changes: 2 additions & 2 deletions project_task_sign_oca/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -388,11 +388,11 @@ <h1 class="title">Project Task Sign Oca</h1>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<ol class="arabic simple">
<li>Go to Sign &gt; Roles and create a role with the following data:</li>
<li>Go to Sign &gt; Settings &gt; Roles and create a role with the following data:</li>
</ol>
<ul class="simple">
<li>Partner type: Expression</li>
<li>Expression: ${object.partner_id.id}</li>
<li>Expression: {{object.partner_id.id}}</li>
</ul>
<ol class="arabic simple">
<li>Go to Sign &gt; Templates and create a template with the following data:</li>
Expand Down
4 changes: 2 additions & 2 deletions project_task_sign_oca/tests/test_project_task_sign_oca.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Copyright 2024 - TODAY, Wesley Oliveira <wesley.oliveira@escodoo.com.br>
# 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()
Expand Down

0 comments on commit a4a6437

Please sign in to comment.