diff --git a/setup/website_event_online_ui/odoo/addons/website_event_online_ui b/setup/website_event_online_ui/odoo/addons/website_event_online_ui new file mode 120000 index 000000000..c782523e0 --- /dev/null +++ b/setup/website_event_online_ui/odoo/addons/website_event_online_ui @@ -0,0 +1 @@ +../../../../website_event_online_ui \ No newline at end of file diff --git a/setup/website_event_online_ui/setup.py b/setup/website_event_online_ui/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/website_event_online_ui/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/website_event_online_ui/README.rst b/website_event_online_ui/README.rst new file mode 100644 index 000000000..a0b78a2f4 --- /dev/null +++ b/website_event_online_ui/README.rst @@ -0,0 +1,78 @@ +=========================== +Improve website event views +=========================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:1e7ec682f6554153c126e74af8961048b82df3b8a6d2637beb3cea9b6135993f + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fevent-lightgray.png?logo=github + :target: https://github.com/OCA/event/tree/16.0/website_event_online_ui + :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-website_event_online_ui + :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 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module is an improvement of the user interface for online events. + +It's a direct backport of modification from https://github.com/odoo/odoo/commit/6015958a8026c97b4ef07e76c0ad1baf73effbed + +**Table of contents** + +.. contents:: + :local: + +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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Le Filament + +Contributors +~~~~~~~~~~~~ + +* Thibaud Bruge + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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. + +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/website_event_online_ui/__init__.py b/website_event_online_ui/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/website_event_online_ui/__manifest__.py b/website_event_online_ui/__manifest__.py new file mode 100644 index 000000000..c6f17f739 --- /dev/null +++ b/website_event_online_ui/__manifest__.py @@ -0,0 +1,18 @@ +# Copyright 2023 Le Filament (https://le-filament.com) +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0). +{ + "name": "Improve website event views", + "version": "16.0.1.0.1", + "depends": ["event", "website_event"], + "data": [ + "views/event_event_views.xml", + "views/event_templates_list.xml", + "views/event_templates_page_registration.xml", + ], + "author": "Le Filament, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/event", + "maintainers": [], + "license": "LGPL-3", + "installable": True, + "auto_install": False, +} diff --git a/website_event_online_ui/i18n/fr.po b/website_event_online_ui/i18n/fr.po new file mode 100644 index 000000000..3571127e5 --- /dev/null +++ b/website_event_online_ui/i18n/fr.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_online_ui +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-08-14 12:52+0000\n" +"PO-Revision-Date: 2024-08-14 12:52+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: website_event_online_ui +#: model_terms:ir.ui.view,arch_db:website_event_online_ui.website_event_online_ui_page_registration +msgid "" +"\n" +" Online event" +msgstr "" +"\n" +" Évènement en ligne" + +#. module: website_event_online_ui +#: model_terms:ir.ui.view,arch_db:website_event_online_ui.website_event_online_ui_search_inherit +msgid "Online" +msgstr "En ligne" + +#. module: website_event_online_ui +#: model_terms:ir.ui.view,arch_db:website_event_online_ui.website_event_online_ui_kanban_inherit +msgid "Online Event" +msgstr "Évènement en ligne" + +#. module: website_event_online_ui +#: model_terms:ir.ui.view,arch_db:website_event_online_ui.website_event_online_ui_lists +msgid "Online event" +msgstr "Évènement en ligne" + +#. module: website_event_online_ui +#: model_terms:ir.ui.view,arch_db:website_event_online_ui.website_event_online_ui_form_inherit +msgid "Online if not set" +msgstr "En ligne si non renseigné" + +#. module: website_event_online_ui +#: model_terms:ir.ui.view,arch_db:website_event_online_ui.website_event_online_ui_search_inherit +msgid "Venue" +msgstr "Lieu" diff --git a/website_event_online_ui/i18n/website_event_online_ui.pot b/website_event_online_ui/i18n/website_event_online_ui.pot new file mode 100644 index 000000000..d66ea17ce --- /dev/null +++ b/website_event_online_ui/i18n/website_event_online_ui.pot @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_online_ui +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-08-14 12:52+0000\n" +"PO-Revision-Date: 2024-08-14 12:52+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: website_event_online_ui +#: model_terms:ir.ui.view,arch_db:website_event_online_ui.website_event_online_ui_page_registration +msgid "" +"\n" +" Online event" +msgstr "" + +#. module: website_event_online_ui +#: model_terms:ir.ui.view,arch_db:website_event_online_ui.website_event_online_ui_search_inherit +msgid "Online" +msgstr "" + +#. module: website_event_online_ui +#: model_terms:ir.ui.view,arch_db:website_event_online_ui.website_event_online_ui_kanban_inherit +msgid "Online Event" +msgstr "" + +#. module: website_event_online_ui +#: model_terms:ir.ui.view,arch_db:website_event_online_ui.website_event_online_ui_lists +msgid "Online event" +msgstr "" + +#. module: website_event_online_ui +#: model_terms:ir.ui.view,arch_db:website_event_online_ui.website_event_online_ui_form_inherit +msgid "Online if not set" +msgstr "" + +#. module: website_event_online_ui +#: model_terms:ir.ui.view,arch_db:website_event_online_ui.website_event_online_ui_search_inherit +msgid "Venue" +msgstr "" diff --git a/website_event_online_ui/readme/CONTRIBUTORS.rst b/website_event_online_ui/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..1f7e77f7a --- /dev/null +++ b/website_event_online_ui/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Thibaud Bruge diff --git a/website_event_online_ui/readme/DESCRIPTION.rst b/website_event_online_ui/readme/DESCRIPTION.rst new file mode 100644 index 000000000..bf5eadf8d --- /dev/null +++ b/website_event_online_ui/readme/DESCRIPTION.rst @@ -0,0 +1,3 @@ +This module is an improvement of the user interface for online events. + +It's a direct backport of modification from https://github.com/odoo/odoo/commit/6015958a8026c97b4ef07e76c0ad1baf73effbed diff --git a/website_event_online_ui/static/description/icon.png b/website_event_online_ui/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/website_event_online_ui/static/description/icon.png differ diff --git a/website_event_online_ui/static/description/index.html b/website_event_online_ui/static/description/index.html new file mode 100644 index 000000000..7425ef3ef --- /dev/null +++ b/website_event_online_ui/static/description/index.html @@ -0,0 +1,424 @@ + + + + + +Improve website event views + + + +
+

Improve website event views

+ + +

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

+

This module is an improvement of the user interface for online events.

+

It’s a direct backport of modification from https://github.com/odoo/odoo/commit/6015958a8026c97b4ef07e76c0ad1baf73effbed

+

Table of contents

+ +
+

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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Le Filament
  • +
+
+
+

Contributors

+
    +
  • Thibaud Bruge <Thibagon>
  • +
+
+
+

Maintainers

+

This module is maintained by the OCA.

+ +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.

+

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/website_event_online_ui/views/event_event_views.xml b/website_event_online_ui/views/event_event_views.xml new file mode 100644 index 000000000..e1d9145fd --- /dev/null +++ b/website_event_online_ui/views/event_event_views.xml @@ -0,0 +1,60 @@ + + + + + event.website_event_oneline_ui.form + event.event + + + + + Online if not set + + + + + + event.website_event_oneline_ui.kanban + event.event + + + + + record.address_id.value + record.address_id.value + + + Online Event + + + + + + + + + event.website_event_oneline_ui.search + event.event + + + + + + + + + + + + diff --git a/website_event_online_ui/views/event_templates_list.xml b/website_event_online_ui/views/event_templates_list.xml new file mode 100644 index 000000000..06ed717fa --- /dev/null +++ b/website_event_online_ui/views/event_templates_list.xml @@ -0,0 +1,22 @@ + + + + + + + diff --git a/website_event_online_ui/views/event_templates_page_registration.xml b/website_event_online_ui/views/event_templates_page_registration.xml new file mode 100644 index 000000000..80425c7d9 --- /dev/null +++ b/website_event_online_ui/views/event_templates_page_registration.xml @@ -0,0 +1,18 @@ + + + +