Daily updates from Odoo
Tuesday, December 16, 2025
4 changes
1 change
New functionality added to Odoo
This update incorporates the Global Location Number (GLN) into delivery partner records, a requirement for eInvoicing reporting. This ensures compliance with evolving e-invoice regulations and streamlines the process for partners generating invoices.
Original PR description
This commit adds the Global Location Number (GLN) to delivery partners, which is required to be reported during eInvoicing. task: 5237220 Forward-Port-Of: odoo/odoo#239970 Forward-Port-Of: odoo/odoo#237591
2 changes
New functionality added to Odoo
This update allows Odoo users to receive and respond to Facebook messages directly within Odoo's Discuss platform. It utilizes a secure webhook connection to Facebook, ensuring messages are delivered reliably. This improves customer engagement and streamlines communication.
Original PR description
Purpose ======= Be able to send/receive Facebook messages in Discuss. The code must be generic, to be able to send messages on other medias, in the future. Specifications ============== Features…
Purpose ======= Be able to send/receive Facebook messages in Discuss. The code must be generic, to be able to send messages on other medias, in the future. Specifications ============== Features -------- We want to be able to send messages from Odoo to Facebook and to receive the Facebook messages in Odoo. We want to specify operators per page. So, a list of users will receive the messages of the Facebook page and will be able to respond. Facebook webhook ---------------- Facebook manage events (as new message) with webhook. You specify an URL in your application setting, and when you receive a new message on your page, Facebook will perform a HTTP request on the endpoint you specify with the message information. The steps are 1. You create a Facebook application, and you set your callback URL to `<web_base_url>/social_facebook/webhook` 2. You connect your Facebook account with Odoo (so we have an access token per page) 3. Each page make a HTTP request to register itself to the webhook (to receive the new messages) 4. When a new message is received on a page, Facebook perform a HTTP request with the page ID. IAP --- If the user use IAP, a callback URL will be passed to IAP during the authentication. We save it in the IAP database. So, when IAP will receive a new event, we look at the Facebook page ID (in the data we received from Facebook), and we give the event to the right callback URL. Note that multiple Odoo database might be linked to the same Facebook page, that Facebook send notifications in batch(so we can receive notifications of different page/database in same request). Signature --------- In order to prevent malicious users from impersonating Facebook sign each message with the APP secret. If the events are passed thought IAP, the signature is checked when IAP receive the message and then IAP sign each request to each database with the shared secret passed during the authentication (this key is build with the database secret). So, each message is signed and can not be impersonate. Operators -------------- To not spam all operators with all social messages, we want to choose only one operators to respond to the Facebook contact. The order of priority to choose an operator is 1. An online operator who is not in an active social channel 2. The online operator who has the lowest number of active social channel 3. An offline operator who is not in an active social channel 4. The offline operator who has the lowest number of active social channel A social channel is considered as "active" if one message has been sent in the last 30 minutes. We take offline operators if nobody is available to not loose the conversation and to be able to respond later to the customer. Task 2124457 See odoo/odoo/pull/45493
This update enhances the Odoo Enterprise platform by adding type definitions for the SIP.js library. These definitions improve code reliability and maintainability, ensuring better integration and development of VoIP functionality within Odoo. This change primarily supports internal development and improves the overall quality of the Odoo Enterprise codebase.
Original PR description
odoo/odoo#240058
1 change
New functionality added to Odoo
This update adds comprehensive unit tests for how actions are ordered and executed within Odoo's document management system. These tests ensure that actions can be enabled in the correct sequence, improving the reliability and functionality of document workflows. This change supports ongoing development and quality assurance efforts.
Original PR description
Purpose ======= Add unit tests about the `ir.embedded.actions` and `ir.actions.server`. Check that we can set the order in the interface by enabling some actions before others. Task-4216195