Thursday, September 22, 2022
10 changes · master
Enhancements to existing features
This update improves Odoo spreadsheets with better find-and-replace behavior, clearer formatting reset, more reliable selection and paste handling, and Excel/Google Sheets-compatible formula checks. Users also gain text wrapping in cells and clearer errors for unsupported formulas, making spreadsheet work more predictable and easier to manage.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/dbe36052 [FIX] find_and_replace: select first match automatically https://github.com/odoo/o-spreadsheet/commit/28476c9d [FIX] ClearFormat: clear format actually clears the format https://github.com/odoo/o-spreadsheet/commit/b4dbb747 [FIX] grid: handle selectionInput modes on click events https://github.com/odoo/o-spreadsheet/commit/179ff66d [IMP] functions: make ISTEXT/ISNUMBER/... compatible with Excel/GSheet https://github.com/odoo/o-spreadsheet/commit/ce32cd66 [FIX] scorecard: display percentage between 0 and 0 https://github.com/odoo/o-spreadsheet/commit/44266c5b [IMP] style: add text cell wrapping option https://github.com/odoo/o-spreadsheet/commit/9b08e99a [REF] renderer: extract font size computation https://github.com/odoo/o-spreadsheet/commit/ebff300d [IMP] clipboard: paste on merge consistency https://github.com/odoo/o-spreadsheet/commit/246de550 [IMP] evaluation: add error "unknown function"
Payment lists can now be searched directly by the payment amount in company currency. This makes it easier for accounting users to quickly find specific payments without relying on other details like customer, vendor, or reference.
Original PR description
It should be possible to quickly search by `amount_company_currency_signed` in `account.payment` view. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo can now support Facebook webhook communication by allowing one endpoint to handle both regular web requests and JSON events. Discuss also gains better Facebook channel presentation through customizable chat window headers, while anonymous visitor names are shared more broadly across mail-based channels.
Original PR description
Purpose ======= Be able to send/receive Facebook messages in Discuss. Specifications ============== Routing type ---------------- Actually, there are only 2 routing types, `http` and `json`. But, in…
Purpose ======= Be able to send/receive Facebook messages in Discuss. Specifications ============== Routing type ---------------- Actually, there are only 2 routing types, `http` and `json`. But, in some case, we might need to manage standard HTTP requests and JSON requests, on the same endpoint. That's the case with the Facebook webhook. They first make a simple HTTP request to check if the endpoint is a valid webhook endpoint and then, the events are sent in a JSON request. That's why we need a new routing type. Customize the header of the thread window --------------------------- We want to be able to customize the thread window, so we can have a blue header for the Facebook channel. `anonymous_name` field ------------------------ In livechat, we have an "anonymous name" on the mail channel. This field is useful because we do not have one partner per visitor. In social, we also need this field (as we do not have a partner per Facebook user) so we move it to mail. Task-2124457 See odoo/enterprise/pull/8481 See odoo/iap-apps/pull/166 See odoo/upgrade/pull/956
This update improves Odoo spreadsheets by supporting function names with underscores and translating more chart text, making spreadsheet content clearer for users in different languages. It also fixes selection behavior when deleting or switching sheets, reducing confusion and preventing unexpected cursor changes.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/b29eeea3 [IMP] function: allow function name with underscore https://github.com/odoo/o-spreadsheet/commit/33411f3e [IMP] chart: translate title and baselineDescr https://github.com/odoo/o-spreadsheet/commit/9c22f40a [FIX] selection: do not reset selection on sheet deletion https://github.com/odoo/o-spreadsheet/commit/d891ac1c [FIX] Selection: do not set current sheet selection to other sheets
Odoo now avoids sending create and edit permission markers for views where records cannot be edited anyway. This slightly reduces the data sent to the browser and keeps view definitions cleaner without changing what users can do.
Original PR description
Setting the attributes `can_create` and `can_write` in views which are not editable is useless as you cannot edit the record in these views. This allow to gain some KB when serving the view to the…
Setting the attributes `can_create` and `can_write` in views which are not editable is useless as you cannot edit the record in these views.
This allow to gain some KB when serving the view to the web client, as well as making the view cleaner.
e.g. the graph view in the CRM > My Pipeline menu
Before:
```xml
<graph string="Opportunities" sample="1">
<field name="stage_id" can_create="true" can_write="true"/>
<field name="user_id" on_change="1" can_create="true" can_write="true"/>
<field name="color" modifiers="{"invisible": true}"/>
</graph>
```
After:
```xml
<graph string="Opportunities" sample="1">
<field name="stage_id"/>
<field name="user_id" on_change="1"/>
<field name="color" modifiers="{"invisible": true}"/>
</graph>
```
This revision takes the opportunity to port the `editable` concept from the server to the web client MockServer,
in order to be able to test the removal of these attributes from the views in the QUnit tests.
The `_editableNode` JS function added here is the translation of the existing `def _editable_node` method in `addons/base/models/ir_ui_view.py`
https://github.com/odoo/odoo/blob/f5edde3624f4fe40f87cc7fed7dcfc4bbce1f19f/odoo/addons/base/models/ir_ui_view.py#L1282-L1301The spreadsheet component has been updated with small usability improvements and fixes. Users benefit from better handling of sheet selections, support for more function naming styles, and translated chart labels where applicable.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/b29eeea3 [IMP] function: allow function name with underscore https://github.com/odoo/o-spreadsheet/commit/33411f3e [IMP] chart: translate title and baselineDescr https://github.com/odoo/o-spreadsheet/commit/9c22f40a [FIX] selection: do not reset selection on sheet deletion https://github.com/odoo/o-spreadsheet/commit/d891ac1c [FIX] Selection: do not set current sheet selection to other sheets
The live chat chatbot script form has been updated so steps are saved and ordered more reliably while users configure them. This helps users build chatbot flows where later steps depend on earlier ones, making setup smoother and less error-prone.
Original PR description
This commit ports the custom implementation of the view form for the chatbot scripts to the new OWL framework. The goal is the same as the base customization, which is mainly to correctly assign a sequence to every step and save the form in-between every new steps. This is necessary to allow the end-user to easily configure its script, since steps can depend on each other. More details in https://github.com/odoo/odoo/pull/84000 Task-2981969
This update improves the Calendar experience, including attendee-focused calendar views, mobile behavior, recurring event handling, and interface cleanup. These changes should make scheduling and managing meetings more reliable and easier to use across devices.
Vendor bill processing now also considers the taxes configured on accounts when selecting taxes for invoice lines. This helps accounting teams get more accurate tax suggestions after the predictive bills functionality was merged into the accounting app.
Original PR description
The account_predictive_bills module is merged into account_accountant. With this change, we want to take account taxes into consideration when choosing the account move line tax.
The Helpdesk ticket screen has been adjusted so stage indicators and form content align correctly. This makes tickets easier to read and work with, reducing visual confusion for support teams.
Original PR description
The purpose of the commit is to improve the UI of the ticket stage bullets and ticket form view which was misaligned. task-2926348