In [1] all shapes were moved from the base snippet to the specific
configurator snippet. This was a bit overkill.
This commit reverts this partially so that only shapes that connect
with each other are specific to the configurator, but "intra-block"
shapes are restored onto the base snippet.
The "New page from template" snippets are adapted accordingly in order
to produce the same output as before this commit.
Restored shapes are: (label (image))
- Origins: 12 (18)
- Blob: 11 (11)
- Airy: 03 (03_001), 04 (04_001), 07 (07), 10 (10), 11 (11), 14 (14)
- Zigs: 01 (01_001), 02 (02_001)
- Wavy: 04 (10), 15 (11)
- Blocks: 02 (01_001)
- Rainy: 03 (06), 05 (10), 09 (08_001), 10 (09_001)
- Floats: all
[1]: https://github.com/odoo/design-themes/commit/d206c119720d557c11320ebb3d7339890b8f9efa
task-3555325
closesodoo/design-themes#726
Related: odoo/odoo#138748
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Themes translation in Odoo 16 have been lost, they were not exported on
Transifex anymore (bug).
We just added back the repository on it, and our internal translators
are working on those translations.
They found some typos and bad wording which are fixed here.
Technically, note that we need the themes fully translated for the
chatGPT integration coming in website configurator.
Indeed, if a theme is not (almost fully) translated, it won't be using
chatGPT for text replacement.
This is because if we ask chatGPT to do text replacement and translation
at the same time, it just provides bad results.
See https://github.com/odoo/odoo/pull/137703closesodoo/design-themes#725
X-original-commit: 7cdb6d2ab7
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
This commit customizes all New Page template designs for every single
theme.
The changes are organized as follow:
When the used blocks are not the default ones:
- the new sequence of block is listed in the `new_page_templates`
manifest entry.
- the blocks are updated in the `new_page_template_sections_..._...`
XML templates accordingly.
After the potential block sequence updates, the `new_page_template.xml`
then first contains the general customization of blocks (those that
apply across all new page templates) then the customization for each
category of page.
Customizations for a specific page are directly below category-wide
customizations of the given block when both exist.
task-3381714
closesodoo/design-themes#692
Related: odoo/odoo#126719
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Co-authored-by: Benoit Socias <bso@odoo.com>
Co-authored-by: Arthur Detroux (ard) <ard@odoo.com>
This commit extracts the pre-defined section shapes from blocks into
templates that are dedicated to being used by the configurator.
For blocks that are not used in configurator pages, the configurator
templates have not been created.
task-3381714
Part-of: odoo/design-themes#692
This commit permits to have responsive font sizes on all the Odoo
frontend. It is based on the Bootstrap mixin `font-size` which
calculates the font size based on the viewport width.
task-1958098
closesodoo/design-themes#673
Related: odoo/enterprise#44578
Related: odoo/odoo#129469
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Since the redesign of the original banner snippet, the customizations
made in theme_zap have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_yes have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_vehicle have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_treehouse have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_real_estate have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_paptic have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_orchid have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_odoo_experts have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_notes have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_nano have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_monglia have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_loftspace have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_kiddo have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_kea have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_graphene have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_enark have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_cobalt have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_clean have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_buzzy have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_bookstore have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_bistro have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_bewise have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_beauty have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_aviato have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_avantgarde have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_artists have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
The new text_cover snippet introduced in commit [1] reproduces the same
result as the Anelusia banner. It makes more sense to use now this new
snippet and get rid of the banner customizations.
This commit removes banner customizations in favor of text_cover
snippet.
As the text_cover snippet is not yet managed in the svg preview, this
snippet uses the banner image.
[1]: https://github.com/odoo/odoo/commit/5ac340b1b27c9527463e2eed65fe2e7768b36702
task-3097005
Part-of: odoo/design-themes#687
Before this commit, owl was in the linter's accepted global variables.
This allowed direct access to owl global object.
For instance, to use xml from owl, you could do :
`const { xml } = owl;`
or you could use it directly:
`owl.xml`
Now, owl is not accepted on linter's global variables anymore, so to
import xml, now you need to use a proper import:
`import { xml } from "@odoo/owl";`
task-id 3498859
closesodoo/design-themes#709
Related: odoo/odoo#137517
Related: odoo/enterprise#48364
Signed-off-by: Samuel Degueldre (sad) <sad@odoo.com>
As all the templates are now imported in the owl app, there is not need
anymore to specify the owl="1" attribute in the templates.
Part of task~3443861
closesodoo/design-themes#686
Related: odoo/enterprise#45020
Related: odoo/odoo#130467
Signed-off-by: Samuel Degueldre (sad) <sad@odoo.com>
*: anelusia, artists, aviato, graphene, kiddo, loftspace, monglia,
notes, odoo_experts, paptic, test_custo, yes
The community PR [125824] introduces an automatic check on buttons to
add the `mb-2` class when several buttons follow each other, so that
they have space to breathe when split on multiple lines.
For consistency, this commit therefore removes most `mb-2` occurrences
on buttons within themes as long as they are alone on their line, but
keeps or adds the class when several buttons are next to each other.
[125824]: https://github.com/odoo/odoo/pull/125824
task-3369604
closesodoo/design-themes#680
Related: odoo/odoo#125824
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit disables the warning (introduced by the community commit)
when test-themes is installed, as a lot of websites are created and are
not necessary when testing the different themes.
-- ORIGINAL COMMIT MESSAGE --
Prior to this commit, if a website does not have a domain, nothing tells
the user that this is a misconfiguration that can lead to broken
behaviours. For example, here are the steps to reproduce:
- Have two website (X and Y)
- Website Y does not have a domain
- Tab 1 has Website X selected
- User opens a new tab
- Tab 2 has Website X selected as well
- User switches tab 2 to Website Y
- No redirection happens
- User switches back to tab 1
- User opens the HTML editor for Website X
- Website X content is displayed
- User saves
- Content is saved on Website Y
This is pretty hard to fix as a lot of the python flow for Website uses
`get_current_website` which will uses the session's "force_website_id"
in priority.
In any case, we consider having multiple websites sharing the same
domain (or having no domains at all) a misconfiguration. Therefore, we
should warn the user of so.
This commit adds a tooltip on the website switcher for websites that do
not have a domain set. It also adds a notification recommending users
close other tabs if they switch website.
opw-3374214
closesodoo/design-themes#684
X-original-commit: 2e3188e1e1
Related: odoo/odoo#130448
Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
As steps are encapsuled in an arrow function from
69a5d8e3ce47238 for steps tour definition to avoid
direct Markup(_t()) interpretation, the same is done
for registerWebsitePreviewTour() of
"odoo/addons/website/static/src/js/tours/tour_utils.js"
in this commit.
This is done in anticipation of the use of
_t() (import from @web/core/l10n/translation) with
registerWebsitePreviewTour().
task-3292454
closesodoo/design-themes#678
Related: odoo/odoo#130248
Signed-off-by: Luca Vitali (luvi) <luvi@odoo.com>