Commit Graph

8 Commits

Author SHA1 Message Date
qsm-odoo e3e8f6796d [REF] theme_vehicle: normalize XML indentation
X-original-commit: de26d7f6a0
Part-of: odoo/design-themes#501
2021-09-24 11:09:52 +00:00
xlu-odoo c4f1a7265a [IMP] theme_vehicle: update the theme
This commit updates the theme to improve the design with shapes, new
pictures and new custom snippets.

task-2567592

Part-of: odoo/design-themes#29
2021-09-06 12:03:01 +00:00
Sébastien Mottet (oms) 57e63ad290 [FIX] theme_*: fix masonry xpath
*: vehicle, yes, zap

Commit [1] modified the website.s_masonry_block template and makes it
call website.s_masonry_block_default_template. The theme custo xpaths
should now be done in that template instead.

[1]: https://github.com/odoo/odoo/commit/c90ab7b6646b603dcd0a49387b5eeba60ce17f59

closes odoo/design-themes#493

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-09-03 10:38:08 +00:00
Sébastien Mottet (oms) e05e835b28 [FIX] theme_*: check cta_btn_text is not False before applying upper
The themes cobalt, paptic and vehicle apply upper on cta_btn_text for some
snippets. In some case cta_btn_text is a boolean (False) and not a string.
We must check cta_btn_text is not False before calling upper on it.

task-2518565

closes odoo/design-themes#33

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-07-07 09:26:38 +00:00
Sébastien Mottet (oms) 20cca57c52 [IMP] website: change CTA based on website main objective
If user selects 'schedule appointments' as main objective in the configurator
and if the website_calendar module is installed then the Call To Action of
snippets s_banner, s_cover and s_call_to_action is changed to 'Schedule an
appointment' and redirect user to '/calendar' on click.

task-2518565

closes odoo/design-themes#5

Related: odoo/odoo#71162
Related: odoo/enterprise#18690
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-06-29 12:57:11 +00:00
qsm-odoo 8e181539a5 [IMP] theme_*: remove hardcoded colors on shapes and snippets
Instead now use another custom mapping for the default colors of the
shapes which are used for the default homepage. This allows for the
built page to work with any color palette (especially useful for built
pages in the new configurator) and to handle footer/header connection.

Also change some shapes and default background colors to match what
the preview wanted directly (instead of relying on user asked change as
that would not be handled when generating the page automatically with
the configurator).

Part of https://github.com/odoo/design-themes/pull/2
task-2491890

closes odoo/design-themes#12

closes odoo/design-themes#14

Related: odoo/odoo#71665
Related: odoo/odoo#71768
X-original-commit: 845b969555
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-06-04 15:52:42 +00:00
Jeremy Kersten 84ba083d17 [ADD] theme saas-14.3 2021-05-10 15:46:42 +02:00
Jeremy Kersten cb1e3be3f8 [ADD] theme 14.0 2021-05-10 15:45:35 +02:00