Daily updates from Odoo
Friday, January 4, 2019
3 changes · master
Resolved issues and error corrections
This fixes an issue where the backend interface could incorrectly use website color settings after a recent change. The update keeps editor-specific colors available while preventing website colors from overriding the standard backend look, preserving a consistent user experience.
Original PR description
Commit https://github.com/odoo/odoo/commit/52ec536cef2ec84af0b36746f19a8cdf9f23fe2a made a mistake which made the backend use the website colors. This is because the web_editor app adds its bootstrap_overridden.scss file in both backend and frontend assets as the backend needs the editor colors (alpha, beta, ...). However, the 'primary', 'secondary', etc that the backend customizes should not be overridden by the web_editor. Therefore the file contained a hack to determine if it is the backend or not... hack which did not work anymore with the new system the mentioned commit implements. Also some comments were not adapted correctly by the mentioned commit.
This fixes a small typo in the Time Off module that could cause leave records to show the wrong visual status indicator. It helps users see the correct state of leave requests more reliably, with no change to business processes.
Original PR description
A type on XML declaration that lead to incorrect decoration
Administrators can now trigger recalculation of stored custom computed fields after changing their calculation logic. This helps ensure existing records reflect the latest field rules without manual workarounds or developer intervention.
Original PR description
**Description of the issue/feature this PR addresses:** It is an helper for developper using web UI to create a custom computed stored field. When you create an custom computed stored field, stored data are computed only once at the creation. if you update the python code, there no solution to force the re-compute with the last python code. **Current behavior before PR:** -create a custom computed stored field, with good python code (no raise) -save -update the python code for any reason and save --> stored data have NOT updated with the last python code **Desired behavior after PR is merged:** Add a button to recompute.  -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr