Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] website_membership_gamification: Migration to version 17.0 #189

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 98 additions & 0 deletions website_membership_gamification/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
===============================
Website Membership Gamification
===============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:be652f131e2377a9183b1bd5e2a853d7e8a6e4bfe8ff2bbade6b38724735b500
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Fvertical--association-lightgray.png?logo=github
:target: https://github.com/OCA/vertical-association/tree/17.0/website_membership_gamification
:alt: OCA/vertical-association
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/vertical-association-17-0/vertical-association-17-0-website_membership_gamification
: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/vertical-association&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows to see badges assigned to users on the Members page
in website. It also allows to set badges straight from contacts view.

**Table of contents**

.. contents::
:local:

Configuration
=============

1. Go to *Settings > Gamification Tools > Badges*.
2. Open or create a new badge.
3. Set an URL in Badge URL field if you want to link the badge on the
website to a webpage.
4. Set a 'Website Expiration Date' so the badge is not shown on the
website after that date.

Usage
=====

You can assign a badge to a contact from the contact form view. Only
contacts related to a user are allowed.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/vertical-association/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 <https://github.com/OCA/vertical-association/issues/new?body=module:%20website_membership_gamification%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Sygel

Contributors
------------

- Manuel Regidor <[email protected]>
- Valentín Vinagre <[email protected]>
- `Tecnativa <https://www.tecnativa.com>`__:

- Stefan Ungureanu
- Carolina Fernandez

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/vertical-association <https://github.com/OCA/vertical-association/tree/17.0/website_membership_gamification>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions website_membership_gamification/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright 2022 Manuel Regidor <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
24 changes: 24 additions & 0 deletions website_membership_gamification/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2022 Manuel Regidor <[email protected]>
# Copyright 2023 Tecnativa - Pedro M. Baeza
# Copyright 2023 Tecnativa - Carolina Fernandez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Website Membership Gamification",
"summary": "Show badges assigned to users on website",
"version": "17.0.1.0.0",
"category": "Website",
"author": "Sygel, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/vertical-association",
"license": "AGPL-3",
"application": False,
"installable": True,
"development_status": "Beta",
"depends": ["gamification", "website_membership"],
"data": [
"wizard/gamification_badge_user_wizard.xml",
"views/badge.xml",
"views/res_partner_views.xml",
"views/website_partner_template.xml",
],
}
110 changes: 110 additions & 0 deletions website_membership_gamification/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_membership_gamification
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-10-15 20:36+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: website_membership_gamification
#: model_terms:ir.ui.view,arch_db:website_membership_gamification.website_membership_gamification_badge_user_kanban_view
msgid "Assigned to"
msgstr "Asignado/a a"

#. module: website_membership_gamification
#: model:ir.model.fields,field_description:website_membership_gamification.field_gamification_badge__badge_url
msgid "Badge URL"
msgstr "URL del distintivo"

#. module: website_membership_gamification
#: model:ir.model.fields,field_description:website_membership_gamification.field_res_partner__gamification_badge_ids
#: model:ir.model.fields,field_description:website_membership_gamification.field_res_users__gamification_badge_ids
#: model_terms:ir.ui.view,arch_db:website_membership_gamification.website_membership_gamification_view_partner_form
msgid "Badges"
msgstr "Distintivos"

#. module: website_membership_gamification
#. odoo-python
#: code:addons/website_membership_gamification/models/res_partner.py:0
#, python-format
msgid ""
"Both hr_gamification and website_membership_gamification modules are "
"installed. You need to install user_hr_gamification in order to use both."
msgstr ""
"Se instalan los módulos hr_gamification y website_membership_gamification. "
"Necesitas instalar user_hr_gamification para poder usar ambos."

#. module: website_membership_gamification
#: model_terms:ir.ui.view,arch_db:website_membership_gamification.partner_view_badge_wizard_reward
msgid "Cancel"
msgstr "Cancelar"

#. module: website_membership_gamification
#: model:ir.model,name:website_membership_gamification.model_res_partner
msgid "Contact"
msgstr "Contacto"

#. module: website_membership_gamification
#: model:ir.model,name:website_membership_gamification.model_gamification_badge
msgid "Gamification Badge"
msgstr "Distintivo de Gamificación"

#. module: website_membership_gamification
#: model_terms:ir.ui.view,arch_db:website_membership_gamification.partner_view_badge_wizard_reward
msgid "Grant Badge"
msgstr "Distintivo de subvención"

#. module: website_membership_gamification
#: model_terms:ir.ui.view,arch_db:website_membership_gamification.website_membership_gamification_view_partner_form
msgid "Grant a Badge"
msgstr "Conceder un distintivo"

#. module: website_membership_gamification
#: model:ir.model.fields,field_description:website_membership_gamification.field_res_partner__has_related_users
#: model:ir.model.fields,field_description:website_membership_gamification.field_res_users__has_related_users
msgid "Has Related Users"
msgstr "Tiene Usuarios Relacionados"

#. module: website_membership_gamification
#: model:ir.model.fields,field_description:website_membership_gamification.field_gamification_badge__new_tab_url
msgid "Open URL in new tab"
msgstr "Abrir URL en una nueva pestaña"

#. module: website_membership_gamification
#: model:ir.model.fields,field_description:website_membership_gamification.field_gamification_badge__website_member_published
msgid "Published in member directory"
msgstr "Publicado en el directorio de miembros"

#. module: website_membership_gamification
#. odoo-python
#: code:addons/website_membership_gamification/models/res_partner.py:0
#, python-format
msgid "Reward"
msgstr "Recompensa"

#. module: website_membership_gamification
#: model_terms:ir.ui.view,arch_db:website_membership_gamification.partner_view_badge_wizard_reward
msgid "Reward with"
msgstr "Recompensa con"

#. module: website_membership_gamification
#. odoo-python
#: code:addons/website_membership_gamification/models/res_partner.py:0
#, python-format
msgid "The partner has no related users."
msgstr "El socio no tiene usuarios relacionados."

#. module: website_membership_gamification
#: model:ir.model.fields,field_description:website_membership_gamification.field_gamification_badge__website_expiration_date
msgid "Website Expiration Date"
msgstr "Fecha de Caducidad del Sitio Web"
111 changes: 111 additions & 0 deletions website_membership_gamification/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_membership_gamification
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-10 12:37+0000\n"
"Last-Translator: LESTRAT21 <[email protected]>\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: website_membership_gamification
#: model_terms:ir.ui.view,arch_db:website_membership_gamification.website_membership_gamification_badge_user_kanban_view
msgid "Assigned to"
msgstr "Assigné à"

#. module: website_membership_gamification
#: model:ir.model.fields,field_description:website_membership_gamification.field_gamification_badge__badge_url
msgid "Badge URL"
msgstr "URL du badge"

#. module: website_membership_gamification
#: model:ir.model.fields,field_description:website_membership_gamification.field_res_partner__gamification_badge_ids
#: model:ir.model.fields,field_description:website_membership_gamification.field_res_users__gamification_badge_ids
#: model_terms:ir.ui.view,arch_db:website_membership_gamification.website_membership_gamification_view_partner_form
msgid "Badges"
msgstr "Badges"

#. module: website_membership_gamification
#. odoo-python
#: code:addons/website_membership_gamification/models/res_partner.py:0
#, python-format
msgid ""
"Both hr_gamification and website_membership_gamification modules are "
"installed. You need to install user_hr_gamification in order to use both."
msgstr ""
"Les modules hr_gamification and website_membership_gamification sont "
"installés. Mais il faut également installer user_hr_gamification pour les "
"utiliser."

#. module: website_membership_gamification
#: model_terms:ir.ui.view,arch_db:website_membership_gamification.partner_view_badge_wizard_reward
msgid "Cancel"
msgstr "Annule"

#. module: website_membership_gamification
#: model:ir.model,name:website_membership_gamification.model_res_partner
msgid "Contact"
msgstr "Contact"

#. module: website_membership_gamification
#: model:ir.model,name:website_membership_gamification.model_gamification_badge
msgid "Gamification Badge"
msgstr ""

#. module: website_membership_gamification
#: model_terms:ir.ui.view,arch_db:website_membership_gamification.partner_view_badge_wizard_reward
msgid "Grant Badge"
msgstr ""

#. module: website_membership_gamification
#: model_terms:ir.ui.view,arch_db:website_membership_gamification.website_membership_gamification_view_partner_form
msgid "Grant a Badge"
msgstr ""

#. module: website_membership_gamification
#: model:ir.model.fields,field_description:website_membership_gamification.field_res_partner__has_related_users
#: model:ir.model.fields,field_description:website_membership_gamification.field_res_users__has_related_users
msgid "Has Related Users"
msgstr ""

#. module: website_membership_gamification
#: model:ir.model.fields,field_description:website_membership_gamification.field_gamification_badge__new_tab_url
msgid "Open URL in new tab"
msgstr ""

#. module: website_membership_gamification
#: model:ir.model.fields,field_description:website_membership_gamification.field_gamification_badge__website_member_published
msgid "Published in member directory"
msgstr ""

#. module: website_membership_gamification
#. odoo-python
#: code:addons/website_membership_gamification/models/res_partner.py:0
#, python-format
msgid "Reward"
msgstr ""

#. module: website_membership_gamification
#: model_terms:ir.ui.view,arch_db:website_membership_gamification.partner_view_badge_wizard_reward
msgid "Reward with"
msgstr ""

#. module: website_membership_gamification
#. odoo-python
#: code:addons/website_membership_gamification/models/res_partner.py:0
#, python-format
msgid "The partner has no related users."
msgstr ""

#. module: website_membership_gamification
#: model:ir.model.fields,field_description:website_membership_gamification.field_gamification_badge__website_expiration_date
msgid "Website Expiration Date"
msgstr ""
Loading
Loading