From 9568f6cff8101d57b6b2f19324244d0e80b964f5 Mon Sep 17 00:00:00 2001 From: ilo Date: Tue, 10 Sep 2024 08:32:35 -0300 Subject: [PATCH] [17.0][MIG] agreement_legal: Migration to 17.0 --- agreement_legal/README.rst | 1 + agreement_legal/readme/CONTRIBUTORS.md | 1 + agreement_legal/static/description/index.html | 1 + .../static/src/js/form_view.esm.js | 2 +- .../static/src/js/kanban_view.esm.js | 2 +- .../static/src/js/list_view.esm.js | 2 +- agreement_legal/static/src/xml/agreement.xml | 4 +- agreement_legal/views/agreement.xml | 86 +++--- agreement_legal/views/agreement_appendix.xml | 10 +- agreement_legal/views/agreement_clause.xml | 10 +- agreement_legal/views/agreement_recital.xml | 10 +- agreement_legal/views/agreement_section.xml | 12 +- agreement_legal/views/agreement_stages.xml | 2 +- agreement_legal/views/agreement_subtype.xml | 2 +- agreement_legal/views/agreement_type.xml | 2 +- agreement_legal/views/res_config_settings.xml | 267 +++++++----------- 16 files changed, 177 insertions(+), 237 deletions(-) diff --git a/agreement_legal/README.rst b/agreement_legal/README.rst index 1d1c55df..77af9e8f 100644 --- a/agreement_legal/README.rst +++ b/agreement_legal/README.rst @@ -103,6 +103,7 @@ Contributors - Sandip Mangukiya - Yves Goldberg - Tharathip Chaweewongphan +- Italo LOPES Other credits ------------- diff --git a/agreement_legal/readme/CONTRIBUTORS.md b/agreement_legal/readme/CONTRIBUTORS.md index 3d6bc2d8..114aafda 100644 --- a/agreement_legal/readme/CONTRIBUTORS.md +++ b/agreement_legal/readme/CONTRIBUTORS.md @@ -5,3 +5,4 @@ - Sandip Mangukiya \<\> - Yves Goldberg \<\> - Tharathip Chaweewongphan \<\> +- Italo LOPES \<\> diff --git a/agreement_legal/static/description/index.html b/agreement_legal/static/description/index.html index f07cdbae..087e72bb 100644 --- a/agreement_legal/static/description/index.html +++ b/agreement_legal/static/description/index.html @@ -451,6 +451,7 @@

Contributors

  • Sandip Mangukiya <smangukiya@opensourceintegrators.com>
  • Yves Goldberg <yves@ygol.com>
  • Tharathip Chaweewongphan <tharathipc@ecosoft.co.th>
  • +
  • Italo LOPES <italo.lopes@camptocamp.com>
  • diff --git a/agreement_legal/static/src/js/form_view.esm.js b/agreement_legal/static/src/js/form_view.esm.js index ee4dc264..7504e495 100644 --- a/agreement_legal/static/src/js/form_view.esm.js +++ b/agreement_legal/static/src/js/form_view.esm.js @@ -1,8 +1,8 @@ /** @odoo-module **/ -import {registry} from "@web/core/registry"; import {FormController} from "@web/views/form/form_controller"; import {formView} from "@web/views/form/form_view"; +import {registry} from "@web/core/registry"; import {useService} from "@web/core/utils/hooks"; export class AgreementFormController extends FormController { diff --git a/agreement_legal/static/src/js/kanban_view.esm.js b/agreement_legal/static/src/js/kanban_view.esm.js index ade31a32..32f95261 100644 --- a/agreement_legal/static/src/js/kanban_view.esm.js +++ b/agreement_legal/static/src/js/kanban_view.esm.js @@ -1,8 +1,8 @@ /** @odoo-module **/ -import {registry} from "@web/core/registry"; import {KanbanController} from "@web/views/kanban/kanban_controller"; import {kanbanView} from "@web/views/kanban/kanban_view"; +import {registry} from "@web/core/registry"; import {useService} from "@web/core/utils/hooks"; export class AgreementKanbanController extends KanbanController { diff --git a/agreement_legal/static/src/js/list_view.esm.js b/agreement_legal/static/src/js/list_view.esm.js index 99b9dd22..8601ecc5 100644 --- a/agreement_legal/static/src/js/list_view.esm.js +++ b/agreement_legal/static/src/js/list_view.esm.js @@ -1,8 +1,8 @@ /** @odoo-module **/ -import {registry} from "@web/core/registry"; import {ListController} from "@web/views/list/list_controller"; import {listView} from "@web/views/list/list_view"; +import {registry} from "@web/core/registry"; import {useService} from "@web/core/utils/hooks"; export class AgreementListController extends ListController { diff --git a/agreement_legal/static/src/xml/agreement.xml b/agreement_legal/static/src/xml/agreement.xml index 130ec37c..da7465ab 100644 --- a/agreement_legal/static/src/xml/agreement.xml +++ b/agreement_legal/static/src/xml/agreement.xml @@ -4,7 +4,6 @@ t-name="agreement.ListView.Buttons" t-inherit="web.ListView.Buttons" t-inherit-mode="primary" - owl="1" > !noCreate and canCreateTemplate - +
    - - - - -

    Advanced Features

    -
    -
    -
    - -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +