Commit Graph
1783 Commits
Author SHA1 Message Date
Odoo Translation Bot 3275156773 [I18N] Update translation terms from Transifex 2024-04-14 00:09:33 +02:00
Odoo Translation Bot a19537ea69 [I18N] Update translation terms from Transifex 2024-04-07 00:08:33 +02:00
aath-odoo 3c17d2ef3b [FIX] website_event: submenu page not found
Before this commit:
When disabling the submenu for events, it would show a 404
Page Not Found error.

After this commit:
the current behavior is that when the
submenu is disabled, it redirects to the /register page of the event.

task-3658380

closes odoo/odoo#160544

X-original-commit: ea140d5cfea992caad7207ff6499a46a8f575729
Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
Signed-off-by: Aashish Thakur (aath) <aath@odoo.com>
2024-04-05 07:20:48 +00:00
Odoo Translation Bot 684745f5de [I18N] Update translation terms from Transifex 2024-03-31 00:09:16 +01:00
Odoo Translation Bot 395140671f [I18N] Update translation terms from Transifex 2024-03-24 00:12:07 +01:00
stefanorigano (SRI) 5490d1a291 [FIX] website_event: "introduction" page edition
This commit allows the user to remove the default "Introduction" title.

task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
2024-03-21 19:54:27 +00:00
stefanorigano (SRI) 878a635379 [FIX] website_event: fix nav dropdown menu design
Prior to this commit dropdown menus were badly affected by custom CSS
rules aiming to fine-tune the event submenu design.

This commit restricts the rule to the menu's direct descendant only.

task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
2024-03-21 19:54:27 +00:00
stefanorigano (SRI) 1049348d7d [FIX] website_event, website_event_*: adjust offcanvas size
This commit adjusts offcanvas size in order to make them less
"decontextualizing". 

task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
2024-03-21 19:54:27 +00:00
stefanorigano (SRI) b477768285 [FIX] website_event, website_event_*: fix readability
*: website_event_booth, website_event_exhibitor, website_event_meet,
   website_event_track, website_event_track_live

This commit adjust classes to address readability across text and
decorative elements taking in account eventual customization applied by
the user through the editor.

task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
2024-03-21 19:54:27 +00:00
stefanorigano (SRI) ba7d1930bc [FIX] website_event_meet, website_event_track: badges issues
Address several design/ux issue related to badges.
In some cases badges are too small, in others the badge should be
clickable while in others should not.
In some circumstances informative components like small alerts should be
used instead.

task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
2024-03-21 19:54:27 +00:00
stefanorigano (SRI) 46420d25d1 [FIX] website_event_track: fix track page design
task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
2024-03-21 19:54:27 +00:00
stefanorigano (SRI) 6407c4c4da [FIX] website_event, *: enable clicking/tapping the entire collapse
*: website_event_exhibitor, website_event_meet, website_event_track

Previously, to expand a collapsed track, users needed to click the icon.
This commit introduces a CSS workaround that allows clicking or tapping
on the entire track header instead.

task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
2024-03-21 19:54:27 +00:00
stefanorigano (SRI) c040a3784c [FIX] website_event: modal_ticket_registration overflow
This commit handle an issue causing the registration inner elements to
don't overflow as expected when multiple tickets are rendered on screen.

Note: This could probably be improved by review the overall modal layout
in order to make a different use of Bootstrap default classes.

task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
2024-03-21 19:54:27 +00:00
stefanorigano (SRI) 3ae39a1f2a [FIX] website_event: modal_ticket_registration adjustments
This commit addresses various minor responsiveness and design issues in
the "event registration modal." Additionally, it modifies the condition
for rendering prices range and to display it if more than two
tickets exist only.

task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
2024-03-21 19:54:27 +00:00
stefanorigano (SRI) f2231d780d [FIX] website_event, website_event_*: headings adjustments
*: website_event_booth, website_event_exhibitor, website_event_meet,
   website_event_meet_quiz, website_event_track

This commit refines headings throughout the entire `website_event`
platform by optimizing font-size hierarchy, spacing, and white-space
management for improved consistency and readability.

task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
2024-03-21 19:54:27 +00:00
stefanorigano (SRI) 3fcdcb8c9f [FIX] website_event: allow lower-case sidebar titles
This commit addresses a scenario where users may prefer lowercase titles
over the default uppercase ones.

task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
2024-03-21 19:54:27 +00:00
stefanorigano (SRI) c28062c37b [FIX] website_event: avoid truncating events' titles
task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
2024-03-21 19:54:27 +00:00
stefanorigano (SRI) 43b48ffcec [FIX] website_event, website_event_*: fix layout
*: website_event_booth, website_event_exhibitor, website_event_meet,
   website_event_track

This commits address several minor layout issues across the entire
`website_event` platform.

task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
2024-03-21 19:54:27 +00:00
stefanorigano (SRI) ccf0a12034 [FIX] website_event: remove "fold ticket details" editor option
This commit removes the "Fold Tickets Details" editor option that's
non-functional because the corresponding template no longer exists.

task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
2024-03-21 19:54:27 +00:00
stefanorigano (SRI) a142acc397 [FIX] website_event: move modal buttons to left
Ensure consistency in the positioning of the website_event's modal
buttons to align with odoo's standards.

task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
2024-03-21 19:54:27 +00:00
stefanorigano (SRI) 3962ef8486 [FIX] website_event: address misleading editor options
This commit enhances the user experience by rewording editor options to
ensure predictability. Specifically:

- The use of the `o_we_sublevel_1` class was misleading as these options
  are not tied to the main layout type.

- The term "Templates" was ambiguous, as the option actually renders
  event's template badges.

task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
2024-03-21 19:54:27 +00:00
stefanorigano (SRI) ad7ece2231 [FIX] website_event: o_wevent_sidebar_social, adjust design
task-3718417
part of task-3698364

Part-of: odoo/odoo#152434
2024-03-21 19:54:27 +00:00
Odoo Translation Bot c4bc200b47 [I18N] Update translation terms from Transifex 2024-03-17 00:11:43 +01:00
Maruan Aguerdouh (magm) e94b227b04 [FIX] website_event: regex matches no title event url
Issue: When editing with the editor an event and removing the title
we get an issue since the url that we usually got is formatted like:
'/event/title-3/register' where title is our event title and 3 the id,
but when leaving the title blank the url will change to be like:
'/event/3/register' in this case the match will no longer find anything
since we no longer have a '-' on our url.

Steps to reproduce:

1. Install website_event and go to the website view of any event.
2. Edit the event, and leave the title blank.
3. Save, and try to edit again the same title.

Solution: We can directly get the id without the preciding '-', in this
case we will get the id in both cases without having mismatch error.

opw-3783998

closes odoo/odoo#157534

X-original-commit: ed236a2097f962dbb39f3cb0b8b9f099285fa0e3
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2024-03-13 14:03:13 +00:00
Odoo Translation Bot 1b9fd01d46 [I18N] Update translation terms from Transifex 2024-03-10 00:13:03 +01:00
Odoo Translation Bot cb45934163 [I18N] Update translation terms from Transifex 2024-03-03 00:09:56 +01:00
Odoo Translation Bot 4f4ca50e8d [I18N] Update translation terms from Transifex 2024-02-25 00:13:04 +01:00
Odoo Translation Bot 1cf48deef9 [I18N] Update translation terms from Transifex 2024-02-18 00:12:23 +01:00
Odoo Translation Bot dd40867949 [I18N] Update translation terms from Transifex 2024-02-11 00:14:17 +01:00
Tiffany Chang (tic) 94c58407f6 [I18N] *: add in Russian translations
For a first iteration, Russian translations were done using DeepL using
1 large .pot file of all the standard modules to translate (e.g. no
localizations, no test modules, etc). Unfortunately for some reason
doing a msgmerge with the existing ru.po files didn't seem to work, so
old "Translators" metadata at top of files were lost (maybe they will be
re-added during next Transifex sync?)

Part-of: odoo/odoo#152285
2024-02-06 18:49:02 +00:00
Tiffany Chang (tic) c79a32066a [I18N] *: export 17.0 translations
Clean the pot files since last cleaning

Part-of: odoo/odoo#152285
2024-02-06 18:49:02 +00:00
Eteil Djoumatchoua(etdj) etdj@odoo.com 9a091a25b5 [FIX] website_event: display a good resolution of thumbnails on event cards
Steps:
- Go to website and edit
- Add an event block
- Change the template of the block from picture to card layout.
- Replace the image of one card by a 4k image.

Issue:
The custom cover is blurry.

Reason:
By default the custom cover is resized to 256x256 (but not the default one because
it uses a static image path).

opw-3390459

closes odoo/odoo#152278

X-original-commit: d6d24ceb2a5b6e735ffb2fe1d5cea1f8f945f288
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Signed-off-by: Jérémy Hennecart (jeh) <jeh@odoo.com>
2024-02-05 11:00:13 +00:00
Odoo Translation Bot c95419af44 [I18N] Update translation terms from Transifex 2024-02-04 00:11:05 +01:00
Odoo Translation Bot 625dac5a10 [I18N] Update translation terms from Transifex 2024-01-28 00:16:34 +01:00
Renaud Thiry 75ba9e6bfa [FIX] website_event: set utm values for event registrations
The utm parameters i.e. utm_source, utm_campaign, utm_medium, are only set
when a sale order is attached to an event registration. If no sale order is
generated the event registration won't have any source despite it being
accessed via a campaign.

Reproduction steps:
1. Create an event and copy its website link.
2. Go to link tracker and create a tracked link with utm values filled.
3. Use this tracked link in incognito preferably to register for the event.
4. Check the attendees of the event and check the marketing utm values.

The registration has no campaign. When it should have one.

This is because event.registration mistakenly does not inherit from
the utm mixin. The fix is to call the default_get of the mixin
as it is independant from any field defined in the mixin.

OPW-3222179
task-3458877

closes odoo/odoo#151047

X-original-commit: 06803bc12115ccb2afb7ea7b8dd101e3a75bfb67
Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
Signed-off-by: Renaud Thiry (reth) <reth@odoo.com>
2024-01-25 13:42:51 +00:00
Morgane (morm) 63fd504c1d [FIX] website_event: title attributes on dropdowns
Prior to this commit, there was no `title` attributes in the accordions
of the filters.
They are also added in the `website_event.pot` file

task-3626957

closes odoo/odoo#145064

Signed-off-by: Jérémy Hennecart (jeh) <jeh@odoo.com>
2024-01-25 13:42:40 +00:00
Morgane (morm) 0efa5bc697 [FIX] website_event: tweak mobile filter design
Prior to this commit, the design of all the `off-canvas filters` was wrong.
It was `list-group` with a `dropdown-item` class on the elements inside.
Also there was a wrong `border-top` class on the `accordion button`,
causing display issues on `hover.

`Aria-control` was also missing from the `categories filters`.

Checkboxes and radio buttons are also added to increases the usability.

task-3626957

Part-of: odoo/odoo#145064
2024-01-25 13:42:40 +00:00
Morgane (morm) b2195a11e9 [FIX] website_event: put foreach before list-item nodes
Prior to this commit, the position of the `<li>` and `t-foreach` was not
correct.
They needed to be swapped, because we had single `<li>` with multiples
`<a>` inside, instead of multiples `<li>` with a single `<a>`.

task-3626957

Part-of: odoo/odoo#145064
2024-01-25 13:42:40 +00:00
Morgane (morm) 789c61a45a [FIX] website_event: respect filter options on mobile
Prior to this commit, the `countries` filter was not appearing in the
off-canvas filters on mobile.

The `date` filter was also appearing all the time in the off-canvas, even
when it was not supposed to.

task-3626957

Part-of: odoo/odoo#145064
2024-01-25 13:42:40 +00:00
Morgane (morm) 5c1ef9766f [FIX] website_event: countries/date filters dropdowns
Prior to this commit, the `countries dropdown` filter was still a `li`
on desktop.
The spacing between the `dropdowns` was also wrong.
The `countries filter` was showing after the `searchbar`, so the template
position is modified.

`is_active` value is set to ease classes conditions on the dropdowns links.

task-3626957

Part-of: odoo/odoo#145064
2024-01-25 13:42:40 +00:00
Odoo Translation Bot 95a4b6dfdc [I18N] Update translation terms from Transifex 2024-01-21 00:17:03 +01:00
Odoo Translation Bot b81790505b [I18N] Update translation terms from Transifex 2024-01-14 00:16:26 +01:00
Odoo Translation Bot 0e23020b84 [I18N] Update translation terms from Transifex 2024-01-07 00:23:19 +01:00
Martin Trigaux 9a666bc8f0 [I18N] *: export 17.0 translations
There were a few errors

closes odoo/odoo#148315

Related: odoo/enterprise#53724
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2024-01-05 15:14:38 +00:00
qsm-odoo c96760a76b [FIX] *: avoid translating CSS classes values
*: project, survey, test_website, website_event, website_sale

This commit fixes all found occurrences of such a case:
```
<t t-set="classes">some_classes</t>
```
=> CSS classes being marked for translation by mistake.

A breaking case was found via task-3636009, where the arabic language
has a translated class on some element which makes some JS crash
because of it.
Steps to reproduce (only for 17.0):
- Create a website with the "Arabic" language as the default language
- Go to the shop page in Arabic
- If you are in grid view, click on the "switch to list view" button and
  if you are in list view, click on the "switch to grid view" button
=> Crash

Note that commit [1] already did something similar a while ago (but
more generically than this commit). In this commit here, broken
occurrences were found using this regex:
```
<t\s+t-set=["']\w+lass(es)?["']\s*>
```

[1]: https://github.com/odoo/odoo/commit/98678199a32b3ba9af999f76980a6110546ec0fc

task-3636009

closes odoo/odoo#147688

X-original-commit: 01b223e3043a3d847fd7dbf8997edcee62c3254a
Related: odoo/enterprise#53463
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-01-04 22:03:50 +00:00
kdeb@odoo.com e88f8ad89f [FIX] website_event: Add style to the quantity of selected tickets
Issue:
- In mobile when we have multiple tickets, the quantity of
      selected tickets is not visible

Steps to reproduce the issue:
- Go to events
- Select any event with multiple tickets
- Go to website
- Click on register now
- Notice in mobile the quantity of selected tickets is not visible

Solution:
- Add style to the quantity of selected tickets

this it was introduced by: 469d94a
opw-3602057

closes odoo/odoo#146904

Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
2024-01-04 12:01:58 +00:00
Odoo Translation Bot 50e8e08183 [I18N] Update translation terms from Transifex 2023-12-24 00:18:24 +01:00
Yannick Tivisse 0ba65e908a [FIX] event: Make tests demo data independent
Part-of: odoo/odoo#146649
2023-12-18 23:32:05 +00:00
Odoo Translation Bot 304a6caa14 [I18N] Update translation terms from Transifex 2023-12-17 00:08:26 +01:00
Odoo Translation Bot 8ab45d4a85 [I18N] Update translation terms from Transifex 2023-12-10 00:12:46 +01:00