Friday, July 24, 2020
3 changes · master
Resolved issues and error corrections
Odoo now avoids repeating an internal setup step for finding add-ons during normal startup and module lookups. This reduces unnecessary work while preserving the needed setup for early command discovery, helping keep startup behavior reliable.
Original PR description
The `initialize_sys_path` is the function responsible of getting the custom Odoo import hooks to work, i.e. addons import via `import odoo.addons`. This function is called by some other module related functions to ensure the paths are correctly setup. We are confident it is useless to re-initialize the path in many places. The `load_openerp_module` function is called during server bootup by both `odoo-bin server` and `odoo-bin shell`, both command parse the configuration before starting the server which initialize the paths already. Most call to `get_module`, `get_module_path` and `get_resource_path` are done in models or controllers where a registry is setup already. There is one notable exception which is the subcommand discovery done during the bootup, for that specific case, we initialize the paths with a partially loaded configuration. Task: 2200956
Grouped list headers now display without shadow effects that caused thin white gaps near borders. The header background is also slightly softened, improving visual consistency and readability in list views.
Original PR description
This PR removes the box-shadows on group header in list view. These box-shadows caused a visual glitch, there was a white line of 2-3px between the text and vertical borders. This PR also adds a slight transparency on group header's background. Task 2301397 COM PR: https://github.com/odoo/odoo/pull/54736
This corrects a small mistake in the multicurrency revaluation wizard so default values are requested using the proper input. It helps ensure the accounting report workflow initializes correctly and avoids unexpected behavior from the previous typo.
Original PR description
Wrong usage of fields instead of default_fields arg in default_get override. Finetuning of https://github.com/odoo/enterprise/commit/a8c2bceb178d2d2f0b365cd126744459dbd1626c