summaryrefslogtreecommitdiff
path: root/addons/event
AgeCommit message (Collapse)Author
2021-05-30[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-23[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-16[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-11[IMP] {website_}event: improve tour usabilityMunaf Khan
This commit makes few changes in the event tour as listed below: * Remove the step asking user to save the event, as the next step is redirecting to the website which already triggers a save * Make the tip for website redirection appeaer in edit mode also * Fix a typo ("registering" instead of "registrating") * Instead of having to go to a specific stage, moving to any stage is now enough for going to next step taskID-2446215 closes odoo/odoo#68235 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2021-05-09[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-02[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-08[IMP] event, mail, mass_mailing, sms, test_mail: clean some mail tests tools ↵Thibault Delavallée
helpers and parameters In this commit we backport some of 14.1+ improvements done in mail tools in order to keep a coherent definition through sub versions. We also improve docstring and add some explanations on available toold and asserts. Task ID-2500615 COM PR odoo/odoo#68874
2021-04-04[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-19[FIX] event: respect scheduled date when calling mail schedulers executeThibault Delavallée
In this commit we ensure calling ``execute`` method on communication schedulers do not send emails or SMS if their scheduled date is still not achieved. Currently only the cron method does it (see ``run``). It is now safe to call ``execute`` directly on event communication schedulers. Related to Task ID-2414658 COM PR odoo/odoo#68158
2021-03-19[FIX] event: allow event user to confirm registrations even with mail schedulersThibault Delavallée
Due to ACLs it is currently impossible for event users to confirm a draft registration if schedulers are involved. Indeed it implies updating the scheduler which is not do-able for them. In this commit we sudo the update of schedulers, as this is a technical object and access is granted through registrations. Related to Task ID-2414658 COM PR odoo/odoo#68158
2021-03-19[IMP] event: improve tests about communication schedulingThibault Delavallée
In this commit we improve event communication scheduling tests. We make tests more detailed and use mail tools to ensure content. We also check scheduled dates and use freezegun to ease date management. Related to Task ID-2414658 COM PR odoo/odoo#68158
2021-03-19[FIX] event: do not autocommit when running event mail schedulers in test modeThibault Delavallée
Otherwise it creates a lot of issues in your tests and database. Always avoid that kind of error-prone statements in testing mode. Related to Task ID-2414658 COM PR odoo/odoo#68158
2021-03-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-10[FIX] event: fix seats_limit and configuration stored editable computed ↵Thibault Delavallée
fields compute method RATIONALE Stored editable fields receive their values either from compute either from user input. If a user input is given to create / write compute method is not called. If multiple fields are computed through the same method giving one field value discard call to compute method and other fields are not called. SPECIFICATIONS Split ``_compute_from_event_type`` compute method so that event template configuration related fields are independent. Fix seats_limited being computed in sevearl method which should not occur. LINKS COM PR #65688 Task ID-2455165
2021-02-10[FIX] event: split stored editable computed fields compute methodThibault Delavallée
RATIONALE Stored editable fields receive their values either from compute either from user input. If a user input is given to create / write compute method is not called. If multiple fields are computed through the same method giving one field value discard call to compute method and other fields are not called. SPECIFICATIONS Split ``_compute_contact_info`` compute method so that partner related fields are independent. LINKS COM PR #65688 Task ID-2455165
2021-02-10[IMP] event, website_event_track: add tests about stored editable computed ↵Thibault Delavallée
fields Add tests related to registration / partner contact fields synchronization. Add tests with user input and/or partner synchronization to ensure editable stored fields work as expected on registration model. Add tests related to event track / partner contact fields synchronization. Add tests with user input and/or partner synchronization to ensure editable stored fields work as expected on track model. Add tests related to event / event type configuration fields synchronization. Add tests with user input and/or event type synchronization to ensure editable stored fields work as expected on event model. Warning: those tests are currently partly failing. Next commits will split computed fields into several methods in order to fix computation. LINKS COM PR #65688 Task ID-2455165
2021-02-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-31[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-27[FIX] *: update tour sequenceMohammed Shekha
with this commit we are updating sequence of onboarding tours task-2444153 closes odoo/odoo#64846 Related: odoo/enterprise#15886 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2021-01-24[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-17[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-10[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-03[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-12-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-12-17[FIX] event: make ticket sale start date inclusiveAurélien Warnon
This commit fixes the ticket sale start date to be considered inclusive. Indeed, before this commit, if the sales of a ticket starts on the 1st of December, people arriving on the website at that exact date will NOT be able to buy tickets although they should be. They will have to wait for the next day to be able to buy tickets. A small test was added to ensure this behavior. Task 2415917 closes odoo/odoo#63512 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-12-20[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-12-13[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-12-04[FIX] (website_)event: constrain event tour steps to the event modulestd-odoo
Bug === When we start the Event tour, if we go outside of Event during the tour we might see the tour bubble in the other application. It should be visible only in Event. Task 2381898 closes odoo/odoo#62736 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-12-07[FIX] event: google calendar link ok timezoneNicolas Lempereur
In the change 6ba81c99 there was an issue with timezone with Google because we were now sending "20201217T123000+0000" instead of "20201217T123124Z". When google received formatted date ending in Z it would treat it as UTC, but with +0000 ending he treats it as a locale time thus get it wrong if locale timezone is different than UTC. opw-2370895 closes #62943 closes odoo/odoo#62958 X-original-commit: 39c95f1d64154d0fbac7da0be4044a63375dcb54 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2020-12-06[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-29[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-27[FIX] *: rephrase, correct typosMartin Trigaux
Courtesy of Transifex's translators for reporting bad/unclear sentences. closes odoo/odoo#62539 Related: odoo/enterprise#15032 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-11-22[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-19[FIX] event: avoid too large prefetching of event.mailPaul Morelle
The prefetching engine wants to prefetch all the registrations to all the events of all the schedulers, which may make a lot of data. If the autocommit is on, then all this prefetched data is discarded at each loop. This commit limits the prefetching to each scheduler, so that we avoid prefetching the data unnecessarily. closes odoo/odoo#62051 X-original-commit: 904a46f28cb64e3bd51c40dc364b256d434d1c93 Signed-off-by: Olivier Dony (odo) <odo@openerp.com> Signed-off-by: Paul Morelle <madprog@users.noreply.github.com>
2020-11-19[FIX] event: allow de installation of all track submodules at onceThibault Delavallée
Website event track module is an advanced event module that is required notably in some sub modules: live, quizzes, exhibitors. When unchecking Schedule & Tracks in event settings, submodules checkboxes are hidden. It means that currently you may uncheck module_website_event_track while still keeping sub modules (_track_live, _track_quiz, _track_exhibitor) checked. When saving, modules are uninstalled, then installed again if one of sub module is still checked. In this commit we add an onchange so that unchecking track also unchecks all its sub modules to effectively remove them all. Task ID-2389569 closes odoo/odoo#61995 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-11-16[FIX] *: rephrase, correct typosMartin Trigaux
Courtesy of Transifex's translators for reporting bad/unclear sentences. closes odoo/odoo#61785 Related: odoo/enterprise#14751 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-11-15[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-08[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-05[FIX] event: Google & Yahoo calendar link brokenNasreddin (bon)
Issue - Install 'Event' module - Go to 'Event' and select any event - Click on "Attendees" stat button - Click on any attendee ( or create one if not any) - Confirm ( if not already confirm) registration - Click on "Send by email" - Change template to 'Event: Registration' then send - In the chatter, check Google or Yahoo calendar link Bad link. Cause Wrong 'dt_format' pattern generate a broken datetime value; current format work with time.strftime() but not 'babel' library. Solution Update 'dt_format' pattern to match with babel library since it's the one used in 'format_datetime' func. > Note that Babel uses different patterns for specifying number and date formats compared to the Python equivalents (such as time.strftime()), which have mostly been inherited from C and POSIX ref : http://babel.pocoo.org/en/latest/dates.html#pattern-syntax opw-2370895 closes odoo/odoo#61387 X-original-commit: ab03fa39c716f717ee78c30e41727a85234b5c9d Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
2020-11-02[FIX] *: fix image parsing error on saving res configIEL
WHAT: apply 93a7695f65baf00d1f82481d6a2a97e6c11940a8 for all res.config.settings menus WHY: the same reason as in 93a7695f65baf00d1f82481d6a2a97e6c11940a8: When saving, a read is called. By default, read has bin_size to true to avoid performances issues. It will return the image size instead of the content it may lead to image dissapearing or "Incorrect padding" error HOW: find . -iname "*.xml"|xargs grep "\"context\".*'module'" -l | xargs sed -i "s/\(\"context\".*'module'.*\)\}/\1, 'bin_size': False}/" git checkout -- addons/base_setup/views/res_config_settings_views.xml --- PR for General Settings: https://github.com/odoo/odoo/pull/47297 opw-2346644 closes odoo/odoo#61212 X-original-commit: 7c55efa88b72bd1f3f0f32f7f738e2fda5aa4abd Related: odoo/enterprise#14545 Signed-off-by: Ivan Yelizariev // IEL <yelizariev@users.noreply.github.com>
2020-10-29[FIX] *: correct typos and bad EnglishMartin Trigaux
Courtesy of translators Reexport .pot of modified modules closes odoo/odoo#61002 Related: odoo/enterprise#14485 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>