Daily updates from Odoo
Monday, November 26, 2018
2 changes
Code cleanup and technical improvements
This change reorganizes how shared style resources are grouped for web, survey, and website slides. It reduces duplicate setup and helps pages consistently use the intended design settings without changing visible features.
Original PR description
* survey, website_slides While not changing their name or their amount, this commit reorganizes the assets helpers to: Avoid all file duplicates in different helpers…
* survey, website_slides While not changing their name or their amount, this commit reorganizes the assets helpers to: Avoid all file duplicates in different helpers ---------------------------------------------- Before, we had to put some files in different helpers, like our bootstrap mixin overrides which were in the _assets_utils template and in the _assets_bootstrap template. Enforce the use of an helper when using bootstrap ------------------------------------------------- Bootstrap functions, variables and mixins are now out of the _assets_bootstrap template, which now only contains bootstrap css rules and our bootstrap fixes and extensions. Allow using the correct bootstrap utils in all assets ----------------------------------------------------- In some assets (especially editor ones), we may want to use bootstrap variables even though bootstrap is not included in those. This worked before but using *default* bootstrap variables. Now, our overrides can be properly included if necessary. Note: this commit may also be a first step to allow for backend bootstrap and frontend bootstrap to co-exist.
This update reorganizes internal asset helper references used by financial reports and documents. It should not change day-to-day functionality, but it helps keep the system easier to maintain and align with broader platform cleanup work.
Original PR description
* account_reports, documents See https://github.com/odoo/odoo/pull/28204