From 4df080f85873370f265ead04d751c335f291a372 Mon Sep 17 00:00:00 2001 From: "r.perez" Date: Fri, 27 Dec 2024 14:41:42 -0500 Subject: [PATCH] [MIG] event_project: Migration to 17.0 --- event_project/README.rst | 10 +++++----- event_project/__manifest__.py | 2 +- event_project/pyproject.toml | 3 +++ event_project/static/description/index.html | 17 ++++++++++------- event_project/views/event_event_view.xml | 2 +- event_project/views/project_project_view.xml | 5 +---- event_project/views/project_task_view.xml | 5 +---- 7 files changed, 22 insertions(+), 22 deletions(-) create mode 100644 event_project/pyproject.toml diff --git a/event_project/README.rst b/event_project/README.rst index 7edf1ded8..ab2b00645 100644 --- a/event_project/README.rst +++ b/event_project/README.rst @@ -17,13 +17,13 @@ Event project :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fevent-lightgray.png?logo=github - :target: https://github.com/OCA/event/tree/16.0/event_project + :target: https://github.com/OCA/event/tree/17.0/event_project :alt: OCA/event .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/event-16-0/event-16-0-event_project + :target: https://translation.odoo-community.org/projects/event-17-0/event-17-0-event_project :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/event&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/event&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -62,7 +62,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -116,6 +116,6 @@ Current `maintainers `__: |maintainer-Shide| |maintainer-rafaelbn| -This module is part of the `OCA/event `_ project on GitHub. +This module is part of the `OCA/event `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/event_project/__manifest__.py b/event_project/__manifest__.py index f9db7532c..72b79b4b4 100644 --- a/event_project/__manifest__.py +++ b/event_project/__manifest__.py @@ -6,7 +6,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Event project", - "version": "16.0.1.0.1", + "version": "17.0.1.0.0", "author": "Tecnativa, Moduon, Odoo Community Association (OCA)", "website": "https://github.com/OCA/event", "license": "AGPL-3", diff --git a/event_project/pyproject.toml b/event_project/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/event_project/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/event_project/static/description/index.html b/event_project/static/description/index.html index 20aff7da2..1f7ae3b46 100644 --- a/event_project/static/description/index.html +++ b/event_project/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -368,7 +369,7 @@

Event project

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:43b55b332c7b2fa54fbf04e01e06798cf09891bb789deac6c53f9c35f247dde7 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/event Translate me on Weblate Try me on Runboat

+

Beta License: AGPL-3 OCA/event Translate me on Weblate Try me on Runboat

This module allows you to assign a project to an event. This project will inherit its event’s fields.

Fields inherited from event:

@@ -409,7 +410,7 @@

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -440,13 +441,15 @@

Contributors

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainers:

Shide rafaelbn

-

This module is part of the OCA/event project on GitHub.

+

This module is part of the OCA/event project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

diff --git a/event_project/views/event_event_view.xml b/event_project/views/event_event_view.xml index 45e4b93d8..87ddd1560 100644 --- a/event_project/views/event_event_view.xml +++ b/event_project/views/event_event_view.xml @@ -38,7 +38,7 @@ type="action" class="oe_stat_button" icon="fa-tasks" - attrs="{'invisible': [('project_id','=', False)]}" + invisible="not project_id" context="{'default_project_id': project_id}" > diff --git a/event_project/views/project_project_view.xml b/event_project/views/project_project_view.xml index 1906d05c1..b90cdf673 100644 --- a/event_project/views/project_project_view.xml +++ b/event_project/views/project_project_view.xml @@ -7,10 +7,7 @@ - + diff --git a/event_project/views/project_task_view.xml b/event_project/views/project_task_view.xml index 17a61488a..b504866b6 100644 --- a/event_project/views/project_task_view.xml +++ b/event_project/views/project_task_view.xml @@ -26,10 +26,7 @@ - +