Simon Goffaux (sigo) dbbc90e9ea [FIX] website_sale: add !important to ribbon color
Before this commit, the bg-primary class was overwriting the bg_color
set by the user after saving changes as it has the !important tag.

Steps to reproduce the issue:
    1. Go to Shop page on website
    2. Enable edit mode
    3. Pick a product and create a new Badge (ribbon)
    4. Change the background color and save changes
        -> color reverts to bg-primary

This commit fixes this behavior by adding the !important tag to the
bg_color so that it properly overwrites the bg-primary color.

opw-3734598

closes odoo/odoo#155274

X-original-commit: 9ee115b58342b3e0dbc11081e7ff752c10f8bfa9
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Simon Goffaux (sigo) <sigo@odoo.com>
2024-03-01 08:45:43 +00:00
2024-02-21 11:28:04 +00:00
…
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%