Начальное наполнение
This commit is contained in:
parent
a2ca20bfba
commit
460b25062c
5
__init__.py
Normal file
5
__init__.py
Normal file
@ -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
|
20
__manifest__.py
Normal file
20
__manifest__.py
Normal file
@ -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',
|
||||
}
|
13
data/event_crm_demo.xml
Normal file
13
data/event_crm_demo.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<!-- Event CRM Rule 1 -->
|
||||
<record id="event_lead_rule_1" model="event.lead.rule">
|
||||
<field name="name">Rule per order</field>
|
||||
<field name="lead_creation_basis">order</field>
|
||||
<field name="event_id" ref="event.event_0"/>
|
||||
<field name="lead_user_id" ref="base.user_demo"/>
|
||||
<field name="lead_tag_ids" eval="[(6, 0, [ref('sales_team.categ_oppor3')]),(6, 0, [ref('sales_team.categ_oppor6')])]"/>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
37
i18n/ar.po
Normal file
37
i18n/ar.po
Normal file
@ -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 "قاعدة لكل طلب "
|
38
i18n/bg.po
Normal file
38
i18n/bg.po
Normal file
@ -0,0 +1,38 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * website_event_crm
|
||||
#
|
||||
# Translators:
|
||||
# Maria Boyadjieva <marabo2000@gmail.com>, 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 ""
|
38
i18n/ca.po
Normal file
38
i18n/ca.po
Normal file
@ -0,0 +1,38 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * website_event_crm
|
||||
#
|
||||
# Translators:
|
||||
# Quim - eccit <quim@eccit.com>, 2023
|
||||
# Sandra Franch <sandra.franch@upc.edu>, 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 <sandra.franch@upc.edu>, 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 ""
|
38
i18n/cs.po
Normal file
38
i18n/cs.po
Normal file
@ -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 ""
|
37
i18n/da.po
Normal file
37
i18n/da.po
Normal file
@ -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 ""
|
38
i18n/de.po
Normal file
38
i18n/de.po
Normal file
@ -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"
|
38
i18n/es.po
Normal file
38
i18n/es.po
Normal file
@ -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"
|
37
i18n/es_419.po
Normal file
37
i18n/es_419.po
Normal file
@ -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"
|
38
i18n/et.po
Normal file
38
i18n/et.po
Normal file
@ -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"
|
38
i18n/fa.po
Normal file
38
i18n/fa.po
Normal file
@ -0,0 +1,38 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * website_event_crm
|
||||
#
|
||||
# Translators:
|
||||
# Hamed Mohammadi <hamed@dehongi.com>, 2023
|
||||
# Faraz Sadri Alamdari <ifarazir@gmail.com>, 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 <ifarazir@gmail.com>, 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 ""
|
39
i18n/fi.po
Normal file
39
i18n/fi.po
Normal file
@ -0,0 +1,39 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * website_event_crm
|
||||
#
|
||||
# Translators:
|
||||
# Jarmo Kortetjärvi <jarmo.kortetjarvi@gmail.com>, 2023
|
||||
# Miku Laitinen <miku.laitinen@gmail.com>, 2023
|
||||
# Ossi Mantylahti <ossi.mantylahti@obs-solutions.fi>, 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 <ossi.mantylahti@obs-solutions.fi>, 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"
|
37
i18n/fr.po
Normal file
37
i18n/fr.po
Normal file
@ -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"
|
37
i18n/he.po
Normal file
37
i18n/he.po
Normal file
@ -0,0 +1,37 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * website_event_crm
|
||||
#
|
||||
# Translators:
|
||||
# ZVI BLONDER <ZVIBLONDER@gmail.com>, 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 <ZVIBLONDER@gmail.com>, 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 ""
|
38
i18n/hu.po
Normal file
38
i18n/hu.po
Normal file
@ -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 <ntomasz81@gmail.com>, 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 ""
|
37
i18n/id.po
Normal file
37
i18n/id.po
Normal file
@ -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"
|
37
i18n/it.po
Normal file
37
i18n/it.po
Normal file
@ -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"
|
37
i18n/ja.po
Normal file
37
i18n/ja.po
Normal file
@ -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 "オーダごとの規則"
|
37
i18n/ko.po
Normal file
37
i18n/ko.po
Normal file
@ -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 "주문별 규칙"
|
38
i18n/lt.po
Normal file
38
i18n/lt.po
Normal file
@ -0,0 +1,38 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * website_event_crm
|
||||
#
|
||||
# Translators:
|
||||
# Linas Versada <linaskrisiukenas@gmail.com>, 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 ""
|
38
i18n/lv.po
Normal file
38
i18n/lv.po
Normal file
@ -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 <ievai.putninai@gmail.com>, 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 <ievai.putninai@gmail.com>, 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 ""
|
37
i18n/nl.po
Normal file
37
i18n/nl.po
Normal file
@ -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"
|
37
i18n/pl.po
Normal file
37
i18n/pl.po
Normal file
@ -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 ""
|
37
i18n/pt.po
Normal file
37
i18n/pt.po
Normal file
@ -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 ""
|
37
i18n/pt_BR.po
Normal file
37
i18n/pt_BR.po
Normal file
@ -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"
|
38
i18n/ru.po
Normal file
38
i18n/ru.po
Normal file
@ -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 "Правило для каждого заказа"
|
37
i18n/sk.po
Normal file
37
i18n/sk.po
Normal file
@ -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 ""
|
37
i18n/sl.po
Normal file
37
i18n/sl.po
Normal file
@ -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 ""
|
38
i18n/sr.po
Normal file
38
i18n/sr.po
Normal file
@ -0,0 +1,38 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * website_event_crm
|
||||
#
|
||||
# Translators:
|
||||
# Dragan Vukosavljevic <dragan.vukosavljevic@gmail.com>, 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 ""
|
38
i18n/sv.po
Normal file
38
i18n/sv.po
Normal file
@ -0,0 +1,38 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * website_event_crm
|
||||
#
|
||||
# Translators:
|
||||
# Anders Wallenquist <anders.wallenquist@vertel.se>, 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 ""
|
37
i18n/th.po
Normal file
37
i18n/th.po
Normal file
@ -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 "กฎต่อการสั่งซื้อ"
|
38
i18n/tr.po
Normal file
38
i18n/tr.po
Normal file
@ -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 <muratk@projetgrup.com>, 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 <muratk@projetgrup.com>, 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 ""
|
37
i18n/uk.po
Normal file
37
i18n/uk.po
Normal file
@ -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 ""
|
37
i18n/vi.po
Normal file
37
i18n/vi.po
Normal file
@ -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"
|
33
i18n/website_event_crm.pot
Normal file
33
i18n/website_event_crm.pot
Normal file
@ -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 ""
|
37
i18n/zh_CN.po
Normal file
37
i18n/zh_CN.po
Normal file
@ -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 "每项订单的规则"
|
37
i18n/zh_TW.po
Normal file
37
i18n/zh_TW.po
Normal file
@ -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 "個別訂單規則"
|
4
models/__init__.py
Normal file
4
models/__init__.py
Normal file
@ -0,0 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from . import event_registration
|
36
models/event_registration.py
Normal file
36
models/event_registration.py
Normal file
@ -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("<br/>").join([" %s" % line for line in answer_value.split('\n')])
|
||||
answer_descriptions.append(Markup(" - %s<br/>%s") % (answer.question_id.title, answer_value))
|
||||
return Markup("%s%s<br/>%s") % (reg_description, _("Questions"), Markup('<br/>').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
|
5
tests/__init__.py
Normal file
5
tests/__init__.py
Normal file
@ -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
|
34
tests/test_event_registration.py
Normal file
34
tests/test_event_registration.py
Normal file
@ -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': "<div>hello world</div>",
|
||||
})]
|
||||
|
||||
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('<li>' in lead.description, 'HTML around the text box value should not be escaped')
|
44
tests/test_visitor_propagation.py
Normal file
44
tests/test_visitor_propagation.py
Normal file
@ -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)
|
23
views/event_lead_rule_views.xml
Normal file
23
views/event_lead_rule_views.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="event_lead_rule_view_tree" model="ir.ui.view">
|
||||
<field name="name">event.lead.rule.view.tree.inherit.website.event.crm</field>
|
||||
<field name="model">event.lead.rule</field>
|
||||
<field name="inherit_id" ref="event_crm.event_lead_rule_view_tree"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='lead_creation_basis']" position="attributes">
|
||||
<attribute name="invisible">0</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
<record id="event_lead_rule_view_form" model="ir.ui.view">
|
||||
<field name="name">event.lead.rule.view.form.inherit.website.event.crm</field>
|
||||
<field name="model">event.lead.rule</field>
|
||||
<field name="inherit_id" ref="event_crm.event_lead_rule_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//group[@name='lead_creation_basis']" position="attributes">
|
||||
<attribute name="invisible">0</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
Loading…
x
Reference in New Issue
Block a user