Community Mailing lijst archieven
Door archief bladeren
Re: Odoo Backend Field value to CSSdoor
Md. Tanzilul Hasan Khan
Thanks for the feedback but its not working. But I found a interesting thing though.
In the following screenshot you will see there is a space before parenthesis. The space is there when I load the webpage and it can be seen by inspect element -
But if you edit it and just put enter it is like following and the image shows. I have no idea why this is occurring-
Can you suggest me anything to handle this problem?
On Sat, Oct 22, 2016 at 3:57 AM, Ryan Cole <email@example.com> wrote:
Hi Tanzilul,Try this instead:<div id="comments1" class="parallax-section" t-att-style="'background-
image: url(data:image/png;base64,' + res_company.website_logo_img + ');'">Kind regards,Ryan ColeFrom: "MD Tanzilul Hasan Khan" <firstname.lastname@example.org>
To: "Community" <email@example.com>
Sent: Saturday, October 22, 2016 12:30:14 AM
Subject: Re: Odoo Backend Field value to CSSI am trying to use following code -<div id="comments1" class="parallax-section" t-att-style="'background-
image:' + 'url(' + 'data:image/png;base64,' + res_company.website_logo_img + ')'">website_logo_img is my custom binary field. But it shows error like following on the website:
But if I use binary code directly instead of res_company.website_logo_img , it works.How can I fix this?
On Fri, Oct 21, 2016 at 10:44 AM, MD Tanzilul Hasan Khan <firstname.lastname@example.org> wrote:Hello Everyone,Is there anyway to take odoo backend field value to CSS file?Regards,--MD. Tanzilul Hasan Khan.
--MD. Tanzilul Hasan Khan.
MD. Tanzilul Hasan Khan.