Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

what is web.assets_frontend and web.assets_backend ?

By
ABU
on 7/4/16, 1:26 AM 512 views

when we used website in xml it shows web.assets_frontend

and like pos it shows web.assets_backend what is the usage of these one//

2

Yenthe

--Yenthe--
6716
| 7 7 8
Turnhout, Belgium
--Yenthe--

My Odoo blog: http://www.odoo.yenthevg.com/

My Twitter: https://twitter.com/Yenthe666

Yenthe
On 7/4/16, 2:02 AM

Hi Abu,


All the JavaScript, CSS and Less that is used within Odoo is compiled and grouped in a bundle. There are however two bundles, the first is web.assets_frontend which is every CSS/JS/Less needed to design the website and to add in validations etc. The second bundle is web.assets_backend wich loads all resources for the back-end (read: the logged in user).
Odoo made two bundles to divide all resources in two packages in order to speed up rendering of the pages. So in essence it is a compilation of all resources, which you can add files to by using web.assets_frontend or web.assets_backend.

Yenthe

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 7/4/16, 1:26 AM
Seen: 512 times
Last updated: 7/4/16, 8:46 AM