Daily updates from Odoo
Tuesday, February 11, 2020
11 changes · master
Enhancements to existing features
This update tidies up code across accounting, sales, and coupon features, including a more efficient way to cancel coupons in batches. It also reorganizes intrastat-related logic to keep financial and sales reporting functionality easier to maintain, with minimal expected impact on day-to-day users.
Original PR description
-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website editors now see clearer labels, wider input fields, and publishing controls that work better on mobile. New pages and related website content such as events, jobs, courses, and blogs also have tracking enabled automatically, reducing manual setup for teams.
Original PR description
Description of the issue/feature this PR addresses: TaskID: https://www.odoo.com/web?#id=2088546&action=327&model=project.task&view_type=form&menu_id=4720 Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update streamlines the setup flow for server actions and tidies related automatic field update behavior. It should make configuration screens behave more consistently with less manual correction for users.
Original PR description
* Server Actions creation flow improved (with context in the views). * Cleanup onchanges * Related readonly updated through onchanges -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update cleans up internal setup data references across several Odoo apps so they can be loaded more directly. It avoids unnecessary processing during data loading, providing a small efficiency improvement without changing user-facing behavior.
Original PR description
`<field name="fname" eval="ref('xml_id'"/>` gives the same result `<field name="fname" ref="xml_id"/>` whereas the latter avoids a useless safe_eval call to evaluate code content.
Those occurrences of the former are therefore replaced by the latter in the existing codebase.
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prHelpdesk users can now send coupons by email even when they do not normally have permission to edit coupon records. This ensures the coupon is correctly marked as sent, reducing workflow blockers for customer support teams.
Original PR description
Purpose ======= Helpdesk users don't have the right to write on a coupon. When sending a coupon by email, the coupon is marked as 'sent'. Allow users to send coupons by executing the state change in sudo. TaskID: 2179609 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
VAT number validation has been updated to rely on a maintained standard library instead of an outdated dependency. This improves long-term reliability for customer and company tax ID checks and keeps packaging requirements aligned across supported platforms.
Original PR description
Python module vatnumber doesn't seem maintained anymore. Therefore, we should:
- call directly stdnum (which is maintained and mostly used everywhere in vatnumber)
Also improve stdnum import, vat fix method and vat expected formats
task-1915371
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThe purchase quotations setup now keeps only the active context setting instead of a duplicate unused one. This minor cleanup reduces configuration ambiguity without changing how users create or manage purchase quotations.
Original PR description
Description of the issue/feature this PR addresses: Two context keys
Current behavior before PR: The purchase_rfq action had two context keys defined. One being empty {} and one with quotation_only set to True.
Desired behavior after PR is merged:
There is just one context (the one that is actually used and applied) on the action.
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis update cleans up how internal setup and demo records reference existing data across several Odoo Enterprise apps. It reduces unnecessary processing when loading those records, with no expected change to day-to-day user workflows.
Original PR description
Enterprise counterpart of https://github.com/odoo/odoo/pull/44883
The website configuration screens for calendar and enterprise features now use clearer wording, making setup options easier to understand. Tracking is also enabled by default, helping businesses collect visitor insights without extra configuration.
Original PR description
TaskID: https://www.odoo.com/web?#id=2088546&action=327&model=project.task&view_type=form&menu_id=4720
The product selection screen now keeps the quantity controls visible and visually disables actions that are not available, such as reducing a quantity that is already zero. This helps users understand how to add products from the field service sales flow and reduces confusion during onboarding.
Original PR description
PURPOSE Many users are confused when they reach the Products kanban view from the 'Add products' stat button and don't understand what they are expected to do. This task aims at improving the onboarding. SPECIFICATIONS Currently, the -/+ buttons were not muted in both the cases, when qty=0 and qty>0. The behaviour is confusing to the user. In order to solve the issue, '-' symbol should has been muted and '+' symbol is clickable if qty=0 and if the qty>1 than both symbols are be clickable. LINKS PR #8256 Task 2170719
Helpdesk teams can now generate coupons directly and send them to customers. This makes it easier for support staff to offer goodwill gestures or compensation without needing another team to create the coupon.
Original PR description
Now an helpdesk user can generate coupon and send it to customer. TaskID: 2179609