diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..90b1755 --- /dev/null +++ b/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from . import models +from . import tests diff --git a/__manifest__.py b/__manifest__.py new file mode 100644 index 0000000..aceb14a --- /dev/null +++ b/__manifest__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +{ + 'name': 'Website Events CRM', + 'version': '1.0', + 'category': 'Website/Website', + 'website': 'https://www.odoo.com/app/events', + 'description': "Allow per-order lead creation mode", + 'depends': ['event_crm', 'website_event'], + 'data': [ + 'views/event_lead_rule_views.xml', + ], + 'demo': [ + 'data/event_crm_demo.xml', + ], + 'installable': True, + 'auto_install': True, + 'license': 'LGPL-3', +} diff --git a/data/event_crm_demo.xml b/data/event_crm_demo.xml new file mode 100644 index 0000000..54d78ad --- /dev/null +++ b/data/event_crm_demo.xml @@ -0,0 +1,13 @@ + + + + + + Rule per order + order + + + + + + diff --git a/i18n/ar.po b/i18n/ar.po new file mode 100644 index 0000000..db57fd9 --- /dev/null +++ b/i18n/ar.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Arabic (https://app.transifex.com/odoo/teams/41243/ar/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "التسجيل للفعالية " + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "الأسئلة" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "قاعدة لكل طلب " diff --git a/i18n/bg.po b/i18n/bg.po new file mode 100644 index 0000000..b073218 --- /dev/null +++ b/i18n/bg.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Maria Boyadjieva , 2023 +# Martin Trigaux, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Martin Trigaux, 2023\n" +"Language-Team: Bulgarian (https://app.transifex.com/odoo/teams/41243/bg/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Регистрация на събитие" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Въпроси" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/ca.po b/i18n/ca.po new file mode 100644 index 0000000..ef90a36 --- /dev/null +++ b/i18n/ca.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Quim - eccit , 2023 +# Sandra Franch , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Sandra Franch , 2023\n" +"Language-Team: Catalan (https://app.transifex.com/odoo/teams/41243/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Registre esdeveniment" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Preguntes" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/cs.po b/i18n/cs.po new file mode 100644 index 0000000..d2fb45f --- /dev/null +++ b/i18n/cs.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Jakub Smolka, 2023 +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Czech (https://app.transifex.com/odoo/teams/41243/cs/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: cs\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Registrace na událost" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Otázky" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/da.po b/i18n/da.po new file mode 100644 index 0000000..de3063d --- /dev/null +++ b/i18n/da.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Martin Trigaux, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Martin Trigaux, 2023\n" +"Language-Team: Danish (https://app.transifex.com/odoo/teams/41243/da/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: da\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Tillmelding til arrangement" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Spørgsmål" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/de.po b/i18n/de.po new file mode 100644 index 0000000..ca70648 --- /dev/null +++ b/i18n/de.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# Larissa Manderfeld, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Larissa Manderfeld, 2023\n" +"Language-Team: German (https://app.transifex.com/odoo/teams/41243/de/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Veranstaltungsregistrierung" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Fragen" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "Regel pro Auftrag" diff --git a/i18n/es.po b/i18n/es.po new file mode 100644 index 0000000..88c3dee --- /dev/null +++ b/i18n/es.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# Larissa Manderfeld, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Larissa Manderfeld, 2023\n" +"Language-Team: Spanish (https://app.transifex.com/odoo/teams/41243/es/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Registro de eventos" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Preguntas" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "Regla por orden" diff --git a/i18n/es_419.po b/i18n/es_419.po new file mode 100644 index 0000000..975e141 --- /dev/null +++ b/i18n/es_419.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Spanish (Latin America) (https://app.transifex.com/odoo/teams/41243/es_419/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_419\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Registro del evento" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Preguntas" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "Regla por orden" diff --git a/i18n/et.po b/i18n/et.po new file mode 100644 index 0000000..9c07147 --- /dev/null +++ b/i18n/et.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Martin Trigaux, 2023 +# Anna, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Anna, 2023\n" +"Language-Team: Estonian (https://app.transifex.com/odoo/teams/41243/et/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Sündmuse registreerimine" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Küsimused" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "Reegel tellimuse kohta" diff --git a/i18n/fa.po b/i18n/fa.po new file mode 100644 index 0000000..7b803e0 --- /dev/null +++ b/i18n/fa.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Hamed Mohammadi , 2023 +# Faraz Sadri Alamdari , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Faraz Sadri Alamdari , 2023\n" +"Language-Team: Persian (https://app.transifex.com/odoo/teams/41243/fa/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fa\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "ثبت نام رویداد" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "پرسش ها" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/fi.po b/i18n/fi.po new file mode 100644 index 0000000..39a0541 --- /dev/null +++ b/i18n/fi.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Jarmo Kortetjärvi , 2023 +# Miku Laitinen , 2023 +# Ossi Mantylahti , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Ossi Mantylahti , 2023\n" +"Language-Team: Finnish (https://app.transifex.com/odoo/teams/41243/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Tapahtuman ilmoittautuminen" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Kysymykset" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "Sääntö tilausta kohti" diff --git a/i18n/fr.po b/i18n/fr.po new file mode 100644 index 0000000..942e42b --- /dev/null +++ b/i18n/fr.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: French (https://app.transifex.com/odoo/teams/41243/fr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Inscription à l'événement" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Questions" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "Règle par commande" diff --git a/i18n/he.po b/i18n/he.po new file mode 100644 index 0000000..0472934 --- /dev/null +++ b/i18n/he.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# ZVI BLONDER , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: ZVI BLONDER , 2023\n" +"Language-Team: Hebrew (https://app.transifex.com/odoo/teams/41243/he/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: he\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "הרשמה לאירוע" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "שאלות" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/hu.po b/i18n/hu.po new file mode 100644 index 0000000..f146fee --- /dev/null +++ b/i18n/hu.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Tamás Németh , 2023 +# Martin Trigaux, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Martin Trigaux, 2023\n" +"Language-Team: Hungarian (https://app.transifex.com/odoo/teams/41243/hu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Esemény regisztráció" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Kérdések" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/id.po b/i18n/id.po new file mode 100644 index 0000000..ca83e45 --- /dev/null +++ b/i18n/id.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Indonesian (https://app.transifex.com/odoo/teams/41243/id/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: id\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Pendaftaran acara" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Pertanyaan" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "Peraturan per order" diff --git a/i18n/it.po b/i18n/it.po new file mode 100644 index 0000000..7348dc8 --- /dev/null +++ b/i18n/it.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Italian (https://app.transifex.com/odoo/teams/41243/it/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: it\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Registrazione evento" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Domande" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "Regola per ordine" diff --git a/i18n/ja.po b/i18n/ja.po new file mode 100644 index 0000000..dc322dc --- /dev/null +++ b/i18n/ja.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Japanese (https://app.transifex.com/odoo/teams/41243/ja/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "イベント登録" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "質問" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "オーダごとの規則" diff --git a/i18n/ko.po b/i18n/ko.po new file mode 100644 index 0000000..0d29da6 --- /dev/null +++ b/i18n/ko.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Korean (https://app.transifex.com/odoo/teams/41243/ko/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ko\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "행사 등록" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "질문" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "주문별 규칙" diff --git a/i18n/lt.po b/i18n/lt.po new file mode 100644 index 0000000..37c4d3d --- /dev/null +++ b/i18n/lt.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Linas Versada , 2023 +# Martin Trigaux, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Martin Trigaux, 2023\n" +"Language-Team: Lithuanian (https://app.transifex.com/odoo/teams/41243/lt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lt\n" +"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Renginio registracija" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Klausimai" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/lv.po b/i18n/lv.po new file mode 100644 index 0000000..2343a88 --- /dev/null +++ b/i18n/lv.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Martin Trigaux, 2023 +# ievaputnina , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: ievaputnina , 2023\n" +"Language-Team: Latvian (https://app.transifex.com/odoo/teams/41243/lv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Pasākuma reģistrācija" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Jautājumi" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/nl.po b/i18n/nl.po new file mode 100644 index 0000000..eb3e7e6 --- /dev/null +++ b/i18n/nl.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Dutch (https://app.transifex.com/odoo/teams/41243/nl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Evenementinschrijving" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Vragen" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "Regel per order" diff --git a/i18n/pl.po b/i18n/pl.po new file mode 100644 index 0000000..6193532 --- /dev/null +++ b/i18n/pl.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Polish (https://app.transifex.com/odoo/teams/41243/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Rejestracja wydarzenia" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Pytania" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/pt.po b/i18n/pt.po new file mode 100644 index 0000000..e304f78 --- /dev/null +++ b/i18n/pt.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Portuguese (https://app.transifex.com/odoo/teams/41243/pt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Registos no Evento" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Perguntas" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/pt_BR.po b/i18n/pt_BR.po new file mode 100644 index 0000000..9a9ee9e --- /dev/null +++ b/i18n/pt_BR.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Portuguese (Brazil) (https://app.transifex.com/odoo/teams/41243/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Inscrição no evento" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Perguntas" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "Regra por pedido" diff --git a/i18n/ru.po b/i18n/ru.po new file mode 100644 index 0000000..4bcb698 --- /dev/null +++ b/i18n/ru.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Martin Trigaux, 2023 +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2024\n" +"Language-Team: Russian (https://app.transifex.com/odoo/teams/41243/ru/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Регистрация событий" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Вопросы" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "Правило для каждого заказа" diff --git a/i18n/sk.po b/i18n/sk.po new file mode 100644 index 0000000..cd312c1 --- /dev/null +++ b/i18n/sk.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Slovak (https://app.transifex.com/odoo/teams/41243/sk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Registrácia udalosti" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Otázky" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/sl.po b/i18n/sl.po new file mode 100644 index 0000000..b1089d3 --- /dev/null +++ b/i18n/sl.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Martin Trigaux, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Martin Trigaux, 2023\n" +"Language-Team: Slovenian (https://app.transifex.com/odoo/teams/41243/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Registracija dogodka" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Vprašanja" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/sr.po b/i18n/sr.po new file mode 100644 index 0000000..80ec975 --- /dev/null +++ b/i18n/sr.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Dragan Vukosavljevic , 2023 +# Martin Trigaux, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Martin Trigaux, 2023\n" +"Language-Team: Serbian (https://app.transifex.com/odoo/teams/41243/sr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sr\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Registracija za događaj" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Pitanja" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/sv.po b/i18n/sv.po new file mode 100644 index 0000000..5a46440 --- /dev/null +++ b/i18n/sv.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Anders Wallenquist , 2023 +# Martin Trigaux, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Martin Trigaux, 2023\n" +"Language-Team: Swedish (https://app.transifex.com/odoo/teams/41243/sv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Anmälan" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Frågor" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/th.po b/i18n/th.po new file mode 100644 index 0000000..6a919aa --- /dev/null +++ b/i18n/th.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Thai (https://app.transifex.com/odoo/teams/41243/th/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: th\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "การลงทะเบียนอีเวนต์" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "คำถาม" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "กฎต่อการสั่งซื้อ" diff --git a/i18n/tr.po b/i18n/tr.po new file mode 100644 index 0000000..beeacb9 --- /dev/null +++ b/i18n/tr.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Martin Trigaux, 2023 +# Murat Kaplan , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Murat Kaplan , 2023\n" +"Language-Team: Turkish (https://app.transifex.com/odoo/teams/41243/tr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Etkinlik Kaydı" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Sorular" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/uk.po b/i18n/uk.po new file mode 100644 index 0000000..0f7c2dc --- /dev/null +++ b/i18n/uk.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Ukrainian (https://app.transifex.com/odoo/teams/41243/uk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: uk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Реєстрація події" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Запитання" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/vi.po b/i18n/vi.po new file mode 100644 index 0000000..b261ec8 --- /dev/null +++ b/i18n/vi.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Vietnamese (https://app.transifex.com/odoo/teams/41243/vi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "Đăng ký sự kiện" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "Câu hỏi" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "Quy tắc trên mỗi đơn hàng" diff --git a/i18n/website_event_crm.pot b/i18n/website_event_crm.pot new file mode 100644 index 0000000..dd975f6 --- /dev/null +++ b/i18n/website_event_crm.pot @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 21:56+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_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "" diff --git a/i18n/zh_CN.po b/i18n/zh_CN.po new file mode 100644 index 0000000..c73d0ec --- /dev/null +++ b/i18n/zh_CN.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Chinese (China) (https://app.transifex.com/odoo/teams/41243/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "活动登记" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "问题" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "每项订单的规则" diff --git a/i18n/zh_TW.po b/i18n/zh_TW.po new file mode 100644 index 0000000..c3283dc --- /dev/null +++ b/i18n/zh_TW.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_event_crm +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Chinese (Taiwan) (https://app.transifex.com/odoo/teams/41243/zh_TW/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: website_event_crm +#: model:ir.model,name:website_event_crm.model_event_registration +msgid "Event Registration" +msgstr "活動報名" + +#. module: website_event_crm +#. odoo-python +#: code:addons/website_event_crm/models/event_registration.py:0 +#, python-format +msgid "Questions" +msgstr "問題" + +#. module: website_event_crm +#: model:event.lead.rule,name:website_event_crm.event_lead_rule_1 +msgid "Rule per order" +msgstr "個別訂單規則" diff --git a/models/__init__.py b/models/__init__.py new file mode 100644 index 0000000..20ce9ac --- /dev/null +++ b/models/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from . import event_registration diff --git a/models/event_registration.py b/models/event_registration.py new file mode 100644 index 0000000..75ad9af --- /dev/null +++ b/models/event_registration.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo import models, _ +from markupsafe import Markup + + +class EventRegistration(models.Model): + _inherit = 'event.registration' + + def _get_lead_description_registration(self, line_suffix=''): + """Add the questions and answers linked to the registrations into the description of the lead.""" + reg_description = super(EventRegistration, self)._get_lead_description_registration(line_suffix=line_suffix) + if not self.registration_answer_ids: + return reg_description + + answer_descriptions = [] + for answer in self.registration_answer_ids: + answer_value = answer.value_answer_id.name if answer.question_type == "simple_choice" else answer.value_text_box + answer_value = Markup("
").join([" %s" % line for line in answer_value.split('\n')]) + answer_descriptions.append(Markup(" - %s
%s") % (answer.question_id.title, answer_value)) + return Markup("%s%s
%s") % (reg_description, _("Questions"), Markup('
').join(answer_descriptions)) + + def _get_lead_description_fields(self): + res = super(EventRegistration, self)._get_lead_description_fields() + res.append('registration_answer_ids') + return res + + def _get_lead_values(self, rule): + """Update lead values from Lead Generation rules to include the visitor and their language""" + lead_values = super()._get_lead_values(rule) + lead_values.update({ + 'visitor_ids': self.visitor_id, + 'lang_id': self.visitor_id.lang_id.id, + }) + return lead_values diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e48e003 --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from . import test_event_registration +from . import test_visitor_propagation diff --git a/tests/test_event_registration.py b/tests/test_event_registration.py new file mode 100644 index 0000000..34da4c7 --- /dev/null +++ b/tests/test_event_registration.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo.addons.event_crm.tests.common import TestEventCrmCommon + + +class EventRegistrationCase(TestEventCrmCommon): + + def test_event_registration_lead_description(self): + """ Ensure that the lead description is well formatted/escaped + when created from an event registration. """ + + questions = self.env['event.question'].create([{ + 'title': 'Text Input Question', + 'question_type': 'text_box', + }]) + + self.event_0.write({ + 'question_ids': [(4, question.id) for question in questions] + }) + + customer_data = self.batch_customer_data[1] + customer_data['registration_answer_ids'] = [(0, 0, { + 'question_id': questions[0].id, + 'value_text_box': "
hello world
", + })] + + registration_values = dict(self.batch_customer_data[1], event_id=self.event_0.id) + self.assertEqual(len(self.test_rule_attendee.lead_ids), 0) + self.env['event.registration'].create(registration_values) + lead = self.test_rule_attendee.lead_ids + self.assertEqual(len(self.test_rule_attendee.lead_ids), 1) + self.assertTrue('<div>hello world</div>' in lead.description, 'Description should contain the escaped text box value') + self.assertTrue('
  • ' in lead.description, 'HTML around the text box value should not be escaped') diff --git a/tests/test_visitor_propagation.py b/tests/test_visitor_propagation.py new file mode 100644 index 0000000..73383dc --- /dev/null +++ b/tests/test_visitor_propagation.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo.tests.common import users +from odoo.addons.event_crm.tests.common import TestEventCrmCommon + +class TestWebsiteEventCrmFlow(TestEventCrmCommon): + + @users('user_eventregistrationdesk') + def test_visitor_language_propagation(self): + """ + This test makes sure that visitor and its language are propagated to the lead when a lead is + created through a lead generation rule. + + `_run_on_registration`, which creates the lead, is called at `event.registration` creation + and does not need to be called manually. + """ + test_lang_website = self.env['website'].sudo().create({ + 'name': 'test lang website', + 'user_id': self.env.ref('base.user_admin').id, + 'language_ids': [self.env.ref('base.lang_en').id, self.env.ref('base.lang_fr').id] + }) + test_lang_visitor = self.env['website.visitor'].sudo().create({ + 'name': 'test visitor language', + 'lang_id': self.env.ref('base.lang_en').id, + 'access_token': 'f9d2ffa0427d4e4b1d740cf5eb3cdc20', + 'website_id': test_lang_website.id, + }) + # 3 leads created w/ Lead Generation rules in TestEventCrmCommon: 1 per attendee and 1 per order + test_lang_registration1, test_lang_registration2 = self.env['event.registration'].create([ + { + 'event_id': self.event_0.id, + 'visitor_id': test_lang_visitor.id, + 'email': 'test@test.example.com', + }, + { + 'event_id': self.event_0.id, + 'visitor_id': test_lang_visitor.id, + 'email': 'test2@test.example.com', + }, + ]) + leads = test_lang_registration1.lead_ids | test_lang_registration2.lead_ids + self.assertEqual(leads.visitor_ids, test_lang_visitor) + self.assertEqual(leads.lang_id, test_lang_visitor.lang_id) diff --git a/views/event_lead_rule_views.xml b/views/event_lead_rule_views.xml new file mode 100644 index 0000000..1c9145b --- /dev/null +++ b/views/event_lead_rule_views.xml @@ -0,0 +1,23 @@ + + + + event.lead.rule.view.tree.inherit.website.event.crm + event.lead.rule + + + + 0 + + + + + event.lead.rule.view.form.inherit.website.event.crm + event.lead.rule + + + + 0 + + + +