diff --git a/setup/website_event_contact/odoo/addons/website_event_contact b/setup/website_event_contact/odoo/addons/website_event_contact new file mode 120000 index 000000000..b1fc2ee24 --- /dev/null +++ b/setup/website_event_contact/odoo/addons/website_event_contact @@ -0,0 +1 @@ +../../../../website_event_contact \ No newline at end of file diff --git a/setup/website_event_contact/odoo_addons/__init__.py b/setup/website_event_contact/odoo_addons/__init__.py deleted file mode 100644 index de40ea7ca..000000000 --- a/setup/website_event_contact/odoo_addons/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/website_event_contact/odoo_addons/website_event_contact b/setup/website_event_contact/odoo_addons/website_event_contact deleted file mode 120000 index a71bdff21..000000000 --- a/setup/website_event_contact/odoo_addons/website_event_contact +++ /dev/null @@ -1 +0,0 @@ -../../../website_event_contact \ No newline at end of file diff --git a/website_event_contact/README.rst b/website_event_contact/README.rst index 0ff346cf4..8e58604cb 100644 --- a/website_event_contact/README.rst +++ b/website_event_contact/README.rst @@ -1,70 +1,110 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - ====================== Website Event Contacts ====================== -This module was written to extend the functionality of the website -to allow users to publish his contacts on events page. +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:c83e703d041ba2f4216da69fffac11f79d9413929b55377b5114167b63fe41a1 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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-AGPL--3-blue.png + :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/website_event_contact + :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_contact + :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| + +With this module, you can display Contact section on the Website Event +page. + +**Table of contents** + +.. contents:: + :local: -Installation -============ +Usage +===== -To install this module, you need to: +To use this module, you will need to: -1. Clone the branch 8.0 of the repository https://github.com/OCA/event -2. Add the path to this repository in your configuration (addons-path) -3. Update the module list -4. Go to menu *Setting -> Modules -> Local Modules* -5. Search For *Website Event Contacts* -6. Install the module +1. Go to an Event on the backend and add some Contacts on the Contacts + field. +2. Click on the "Go to website" smart button to view the event on the + website. +3. Click on "Edit" on the top right corner to enable the website editor. +4. On the right panel, click on the "Customize" tab. +5. Below the Event page section, click on "Show contact". +6. Check the new section added at the bottom of the content section to + see how the contacts are displayed. -Usage -===== -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/199/8.0 +Known issues / Roadmap +====================== +Contact section is not shown if you enable "Sub-Menu (Specific)" +customization. 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 smashing it by providing a detailed and welcomed `feedback -`_. +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 ======= -Images ------- +Authors +------- -* Odoo Community Association: `Icon `_. +* Moduon +* OpenSynergy Indonesia Contributors ------------ -* Michael Viriyananda +- Eduardo de Miguel (`Moduon `__) + +Maintainers +----------- -Maintainer ----------- +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - 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. -To contribute to this module, please visit https://odoo-community.org. +.. |maintainer-Shide| image:: https://github.com/Shide.png?size=40px + :target: https://github.com/Shide + :alt: Shide +.. |maintainer-rafaelbn| image:: https://github.com/rafaelbn.png?size=40px + :target: https://github.com/rafaelbn + :alt: rafaelbn + +Current `maintainers `__: + +|maintainer-Shide| |maintainer-rafaelbn| + +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_contact/__manifest__.py b/website_event_contact/__manifest__.py new file mode 100644 index 000000000..4b1d461ae --- /dev/null +++ b/website_event_contact/__manifest__.py @@ -0,0 +1,20 @@ +# © 2016 OpenSynergy Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + "name": "Website Event Contacts", + "version": "16.0.1.0.0", + "summary": "Display your event contacts on your event page", + "author": "Moduon,OpenSynergy Indonesia,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/event", + "category": "Marketing", + "depends": ["website_event", "event_contact"], + "data": [ + "views/event_templates_page_registration.xml", + "views/snippets/snippets.xml", + ], + "application": False, + "installable": True, + "maintainers": ["Shide", "rafaelbn"], + "license": "AGPL-3", +} diff --git a/website_event_contact/__openerp__.py b/website_event_contact/__openerp__.py deleted file mode 100644 index bb372f16e..000000000 --- a/website_event_contact/__openerp__.py +++ /dev/null @@ -1,15 +0,0 @@ -# © 2016 OpenSynergy Indonesia -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -{ - "name": "Website Event Contacts", - "version": "8.0.1.0.0", - "summary": "Publish your event contacts", - "author": "OpenSynergy Indonesia,Odoo Community Association (OCA)", - "website": "https://github.com/OCA/event", - "category": "Marketing", - "depends": ["website_event", "event_contact"], - "data": ["views/website_event_contact.xml"], - "installable": True, - "license": "AGPL-3", -} diff --git a/website_event_contact/i18n/de.po b/website_event_contact/i18n/de.po new file mode 100644 index 000000000..429ef97ed --- /dev/null +++ b/website_event_contact/i18n/de.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_contact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-10-29 10:42+0000\n" +"PO-Revision-Date: 2024-10-29 11:44+0100\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.4.4\n" + +#. module: website_event_contact +#: model_terms:ir.ui.view,arch_db:website_event_contact.website_event_contact_details +msgid "Contact" +msgstr "Kontakt" + +#. module: website_event_contact +#: model_terms:ir.ui.view,arch_db:website_event_contact.snippet_options +msgid "Event Page" +msgstr "Veranstaltungsseite" + +#. module: website_event_contact +#: model_terms:ir.ui.view,arch_db:website_event_contact.snippet_options +msgid "Show Contact" +msgstr "Kontakt anzeigen" diff --git a/website_event_contact/i18n/es.po b/website_event_contact/i18n/es.po new file mode 100644 index 000000000..864248d72 --- /dev/null +++ b/website_event_contact/i18n/es.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_contact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-10-29 10:42+0000\n" +"PO-Revision-Date: 2024-10-29 11:43+0100\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.4.4\n" + +#. module: website_event_contact +#: model_terms:ir.ui.view,arch_db:website_event_contact.website_event_contact_details +msgid "Contact" +msgstr "Contacto" + +#. module: website_event_contact +#: model_terms:ir.ui.view,arch_db:website_event_contact.snippet_options +msgid "Event Page" +msgstr "Página de Evento" + +#. module: website_event_contact +#: model_terms:ir.ui.view,arch_db:website_event_contact.snippet_options +msgid "Show Contact" +msgstr "Mostrar Contacto" diff --git a/website_event_contact/i18n/website_event_contact.pot b/website_event_contact/i18n/website_event_contact.pot new file mode 100644 index 000000000..4c18d9b19 --- /dev/null +++ b/website_event_contact/i18n/website_event_contact.pot @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_contact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-10-29 10:42+0000\n" +"PO-Revision-Date: 2024-10-29 10:42+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_contact +#: model_terms:ir.ui.view,arch_db:website_event_contact.website_event_contact_details +msgid "Contact" +msgstr "" + +#. module: website_event_contact +#: model_terms:ir.ui.view,arch_db:website_event_contact.snippet_options +msgid "Event Page" +msgstr "" + +#. module: website_event_contact +#: model_terms:ir.ui.view,arch_db:website_event_contact.snippet_options +msgid "Show Contact" +msgstr "" diff --git a/website_event_contact/readme/CONTRIBUTORS.md b/website_event_contact/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..310fc4ef7 --- /dev/null +++ b/website_event_contact/readme/CONTRIBUTORS.md @@ -0,0 +1 @@ +- Eduardo de Miguel ([Moduon](https://www.moduon.team/)) diff --git a/website_event_contact/readme/DESCRIPTION.md b/website_event_contact/readme/DESCRIPTION.md new file mode 100644 index 000000000..c61d9d069 --- /dev/null +++ b/website_event_contact/readme/DESCRIPTION.md @@ -0,0 +1 @@ +With this module, you can display Contact section on the Website Event page. diff --git a/website_event_contact/readme/ROADMAP.md b/website_event_contact/readme/ROADMAP.md new file mode 100644 index 000000000..658d2b84f --- /dev/null +++ b/website_event_contact/readme/ROADMAP.md @@ -0,0 +1 @@ +Contact section is not shown if you enable "Sub-Menu (Specific)" customization. \ No newline at end of file diff --git a/website_event_contact/readme/USAGE.md b/website_event_contact/readme/USAGE.md new file mode 100644 index 000000000..3c93fc066 --- /dev/null +++ b/website_event_contact/readme/USAGE.md @@ -0,0 +1,9 @@ +To use this module, you will need to: + +1. Go to an Event on the backend and add some Contacts on the Contacts field. +2. Click on the "Go to website" smart button to view the event on the website. +3. Click on "Edit" on the top right corner to enable the website editor. +4. On the right panel, click on the "Customize" tab. +5. Below the Event page section, click on "Show contact". +6. Check the new section added at the bottom of the content section to see how the + contacts are displayed. diff --git a/website_event_contact/static/description/index.html b/website_event_contact/static/description/index.html new file mode 100644 index 000000000..3ce92e2e3 --- /dev/null +++ b/website_event_contact/static/description/index.html @@ -0,0 +1,449 @@ + + + + + +Website Event Contacts + + + +
+

Website Event Contacts

+ + +

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

+

With this module, you can display Contact section on the Website Event +page.

+

Table of contents

+ +
+

Usage

+

To use this module, you will need to:

+
    +
  1. Go to an Event on the backend and add some Contacts on the Contacts +field.
  2. +
  3. Click on the “Go to website” smart button to view the event on the +website.
  4. +
  5. Click on “Edit” on the top right corner to enable the website editor.
  6. +
  7. On the right panel, click on the “Customize” tab.
  8. +
  9. Below the Event page section, click on “Show contact”.
  10. +
  11. Check the new section added at the bottom of the content section to +see how the contacts are displayed.
  12. +
+
+
+

Known issues / Roadmap

+

Contact section is not shown if you enable “Sub-Menu (Specific)” +customization.

+
+
+

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

+
    +
  • Moduon
  • +
  • OpenSynergy Indonesia
  • +
+
+
+

Contributors

+
    +
  • Eduardo de Miguel (Moduon)
  • +
+
+
+

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.

+

Current maintainers:

+

Shide rafaelbn

+

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_contact/views/event_templates_page_registration.xml b/website_event_contact/views/event_templates_page_registration.xml new file mode 100644 index 000000000..3d3528d5c --- /dev/null +++ b/website_event_contact/views/event_templates_page_registration.xml @@ -0,0 +1,73 @@ + + + + + diff --git a/website_event_contact/views/snippets/snippets.xml b/website_event_contact/views/snippets/snippets.xml new file mode 100644 index 000000000..97bcdfa49 --- /dev/null +++ b/website_event_contact/views/snippets/snippets.xml @@ -0,0 +1,22 @@ + + + + diff --git a/website_event_contact/views/website_event_contact.xml b/website_event_contact/views/website_event_contact.xml deleted file mode 100644 index cbb15ed15..000000000 --- a/website_event_contact/views/website_event_contact.xml +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - -