Daily updates from Odoo
Thursday, February 13, 2020
9 changes
Enhancements to existing features
This update refreshes several website snippets to make page sections look cleaner and easier to edit. It simplifies layouts, adjusts default styling such as colors, spacing, titles, buttons, and icons, and adds more flexibility for timeline rows, helping users build more polished website pages with less manual cleanup.
Original PR description
[task-2182907](https://www.odoo.com/web#id=2182907&action=333&active_id=974&model=project.task&view_type=form&menu_id=4720) -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update makes internal time-related web utilities work more reliably when reused in different parts of the system. It reduces the chance of errors in shared JavaScript code without changing visible user features.
Original PR description
Some functions defined in this file use another function present in the same file through "this" keyword even if it's not needed. This cause problems when these function are required in another file using object destructuring. This commit fix this issue by calling the function only by its name.
Partner forms now guide users more carefully when adding states, reducing accidental creation of incorrect location records. Users can no longer create countries from this flow, quick state creation is disabled, and new states automatically inherit the partner's country when created from the form.
Original PR description
Purpose ======= Improve the state creation flow. Some users created states by mistake, we want to avoid this situation. Specifications ============== Do not allow to create country from the partner form view. Disable the quick create of the state in the partner form view. When we create a state from the partner form view, set by default the country of the state to the country of the partner. Task 2178289
Sales orders now calculate invoice status more reliably while users are editing records, including before the record is fully saved. This helps avoid misleading invoice status information during sales order changes and improves day-to-day accuracy for sales teams.
Original PR description
Works correctly on virtual records during onchanges, notably. Since the data was obtained from a read_group using the ids of self, virtual records never could find any of their data.
CRM lead and opportunity lists can now optionally show campaign, source, and medium information. This helps sales teams understand where leads came from without changing the default list layout.
Original PR description
# Purpose The purpose is to allow the user to choose if he want to display or not information about the campaign, the source and the medium for leads/opportunities. # Specifications This fields are now available as optional fields for the tree views of opportunity and leads. task-2189667
The accounting dashboard was adjusted so it no longer depends on a condition that belongs to the online bank synchronization feature. This keeps the core accounting area properly separated from optional online sync functionality, reducing the chance of display or configuration issues.
Original PR description
The t-if condition using "online_sync" couldn't be there... "online_sync" condition must be present in account_online_sync module and not account module. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
CRM now uses clearer setup text and can automatically enable predictive lead tools when the required CRM and IAP services are installed. This reduces manual configuration during onboarding and helps teams access lead scoring and enrichment capabilities faster.
Original PR description
# Purpose Improve the default configuration on CRM for predictive lead in order to ease the onboarding. # Specifications Modify text and install crm_iap_lead(_enrich) automatically if CRM and IAP are installed. task-2131056
The analytic defaults feature will now be installed automatically when analytic accounting is enabled. This makes the related accounting functionality available without extra setup, reducing configuration steps for users.
Original PR description
"account_analytic_default" module should be auto installed. This way its functionalities are available when analytic accounting option is enabled. Task : 2182900
The accounting dashboard now applies the online synchronization display condition from the correct online sync module. This keeps the dashboard behavior aligned with the installed feature and reduces the risk of accounting screens showing options when online sync is not available.
Original PR description
The t-if condition using "online_sync" must be in this module and not the account module.