Friday, January 20, 2023
14 changes · master
Enhancements to existing features
Clicking records in embedded list fields now behaves more consistently: editable lists enter inline editing, while read-only lists no longer unexpectedly open a pop-up form. This reduces confusion for users and keeps pop-up opening available only where it is explicitly configured, while kanban-style embedded views keep their existing behavior.
Original PR description
This commit disable by default the opening of the form view when clicking on a record in a x2many list field. Before when clicking on a record in a x2many list field: - sometimes it goes into inline edition mode - sometimes it opens the record in a modal form - sometimes it does nothing With this commit, we remove the "popup" option and the behavior becomes more logical: it goes into inline edition if the field is editable, otherwise nothing happens. For specific cases, it is possible to activate this behaviour in the tree arch with the `open_on_click="0"` attribute. This option was previously named `no_open` but the double negation needed to open a record (`no_open="0"`) is not clear enough. If the x2many field renders a kanban, it stills open the records in a modal by default because unlike the list, the kanban does not contain all/most of the required information of the record. task-id: 2964320
This update removes an obsolete reference to a previously removed web dashboard component from an internal configuration file. It helps keep development tooling clean and reduces confusion for future maintenance, with no expected impact on business users.
Original PR description
before this commit, the web_dashboard module was refferenced in _eslintignore file web_dashboard module was removed by this commit: https://github.com/odoo/enterprise/commit/658606bd870041da8a7c969c3ffe63f762e5daf5 after this commit, the refferenced web_dashboard module will be removed from _eslintignore file. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update standardizes avatar display sizes across several Odoo apps, helping profile images and user icons look more consistent throughout the product. It also renames older avatar styling to prevent conflicts with the new shared sizing approach.
Original PR description
In order to keep consistency between common avatar sizes, this commit introduces new utility classes to handle them. Requires: - https://github.com/odoo/enterprise/pull/31065 task-2973409 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The payment interface now uses the clearer label "Payment Method" instead of "Payment Icon". This helps users better understand that they are selecting or managing available ways to pay, reducing confusion across payment setup and checkout screens.
Original PR description
Payment Icon sounds confusing comparing to what it really is, payment method name makes it clearer for user to understand what it is. task-2882564 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: See also: https://github.com/odoo/enterprise/pull/33908 See also: https://github.com/odoo/upgrade/pull/4029 See also: https://github.com/odoo/documentation/pull/2955 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The test exception form now shows a simple Close button instead of Save and Discard options. This makes the screen clearer for users because the form is intended for viewing rather than editing.
Original PR description
before this commit, when opening the test exception form from Tests -> Test exceptions -> Test exceptions, in the bottom of the form it currently shows Save and Discard button. after this commit, on opening the same form, instead of save and discard, it will show Close button to close the opened form. Before:  After:  --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Accounting users can now create bank statements and miscellaneous operations directly from the Documents app when the journal is already known. This streamlines importing files such as CODA and SODA by matching the behavior available from the accounting dashboard.
Original PR description
Add 2 document.workflow.action so that bank statement (e.g. CODA) and misc operation (e.g. SODA) can be imported from the document app. The behavior is similar to the one found in the accounting dashboard. Note: the no_document context is irrelevant in the account.move scope as it does not inherit from 'documents.mixin' task-id: 3116350 [enterprise](https://github.com/odoo/enterprise/pull/35486) [community](https://github.com/odoo/odoo/pull/109617)
Survey result pages now handle long single-line answers more cleanly, keep answer tables visually stable when switching pages, and show a clearer message when there are no answers. This makes reviewing survey responses easier and less distracting for users.
Original PR description
Purpose ======= Give users a better experience when using the survey result page. Specifications ============== Handle long chars display for single-line question answers by showing them on multiple lines. Prevent answer tables from flickering when having multiple pages with different answers count by fixing their height. Display a no answers helper instead of the empty table and the alert message. Task-2957775
CRM forecasting and related sales pipeline views were updated to use newer internal tools for date handling and screen behavior. This helps keep the forecasting experience reliable and easier to maintain without changing day-to-day CRM workflows.
Original PR description
owl improvements Applies minor fixups to improve owl usage in CRM, following the JS team advice: https://github.com/odoo/odoo/pull/104975 * remove unused export * use orm service from model * remove redundancy for component call stop using moment Replace moment calls by their equivalent with the luxon library in CRM, and make use of date utils from the l10n module. Task-3056665
The email template preview screen was updated to use Odoo’s standard form layout instead of a custom Bootstrap layout. This makes the screen more consistent with the rest of Odoo and easier to maintain, with only a minor label wording change for the test record field.
Original PR description
Small refactor of the template preview form to use regular group and field tags instead of custom layout using bootstrap. Technical note: the label resource_ref has no "for" attribute because when adding it, the label content is replaced by the standard field label (here "Record"). We cannot use also the "string" attribute as the label is dynamic. Task-3098782 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The referral reporting screen now shows a clean, purpose-built record view instead of a generic automatically generated layout. This makes individual referral report records easier to read when users drill down from reporting charts or lists.
Original PR description
before this commit, no form view was defined for the model hr.referral.report and thus on clicking the tree view and opening the record, currently it shows the odoo generated form view. Referrals -> Reporting, switch to graph view and click on any record, from the opening tree, click and open any record to get form view. after this commit, on opening the form view, clean form view will be displayed.
The SEPA Direct Debit payment setup now uses the clearer label “Payment Method” instead of “Payment Icon.” This makes the interface easier to understand by describing what the field actually represents.
Original PR description
Changing Payment Icon to Payment Method in order to reflect what it really is and for more clearance. task-2882564
This update modernizes how social media comment dates are read and displayed when creating CRM leads from social posts. It improves long-term reliability by replacing an older date-handling library with the current standard used across supported social networks.
Original PR description
social_crm: stop using moment
Replace moment calls by their equivalent with the luxon library in SOCIAL,
and make use of date utils from the l10n module.
For reference, here are all the `created_time` formats for supported social
streams comments and the respective luxon parser:
-> facebook: created_time: '2017-06-06T18:04:10+0000'
luxon: fromISO
-> instagram: timestamp: '2017-05-19T23:27:28+0000'
luxon: fromISO
-> linkedin: created[time]: 1582160678569
luxon: fromMillis
-> twitter: created_at: 'Wed Oct 10 20:19:24 +0000 2018'
API v1.1 luxon: fromFormat({format:'EEE MMM d HH:mm:ss ZZZ yyyy'})
-> youtube: publishedAt: '2017-11-13T06:06:22Z'
luxon: fromISO
Task-3056665Customers who try to close a subscription now receive a suggested solution based on their selected reason. The subscription is only cancelled if they decline the proposed solution, helping businesses reduce avoidable churn while making the closure flow clearer.
Original PR description
When a customer wants to close a subscription, a solution is now proposed based on the close reason. The subscription is only closed if the customer does not accept the solution. Also, subscription close flow text is reworded. task-2723891
This update standardizes avatar image sizes across multiple Odoo Enterprise apps. It helps provide a more consistent and polished user experience in portals, dashboards, social feeds, planning views, documents, and related screens.
Original PR description
In order to keep consistency between common avatar sizes, this commit introduces new utility classes to handle them. Requires: - https://github.com/odoo/odoo/pull/99573 task-2973409