Daily updates from Odoo
Saturday, April 20, 2024
5 changes · master
New functionality added to Odoo
Odoo Social now supports sending and receiving Facebook page messages directly in Discuss, helping teams manage customer conversations without leaving Odoo. Page-specific operators can be assigned, and Odoo automatically selects an available operator to avoid notifying everyone while keeping conversations covered.
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
The appraisal app now includes an onboarding tour to help new users get started more easily. Managers can also personalize confirmation emails before sending them, while appraisal, goal, and plan screens receive clearer presentation improvements.
Original PR description
This PR adds the hr_appraisal onboarding tour to guide the user through the first steps of this module. There are also some cosmetic changes for appraisal form and list views, appraisal plan list view and goals form and kanban view. A new wizard is also added to allow the user to customize the Confirm and Send mail body. There are two new mail notifications along with it to hide some of the technical details of the mail body to the user. TASK ID: 2274970
Odoo Social Marketing can now connect to YouTube channels through Google authentication. Users can manage channel videos, comments and replies, mark spam, upload videos, and share YouTube links through other connected social networks.
Luxembourg accounting reports now include electronic versions of key statutory reports in the main Luxembourg reports module. This simplifies access to balance sheet, profit and loss, VAT, and Intrastat electronic reporting while keeping automated checks to ensure reports generate correctly.
Original PR description
Luxembourgian electronic reports module of v13 consists of electronic version of the Balance Sheet, Balance Sheet(Abridged), Profit and loss, Profit and loss(Abridged) and vat report. Also it has a test case that ensures error free generation of different electronic reports. Here, the electronic reports module is merged with Luxembourgian reports module for master. Task: 2198395
Odoo Social now lets users connect Facebook Groups, view group feeds and mentions, and choose which linked Facebook Page account should post to a group. This helps teams manage group engagement from Odoo alongside their existing social media channels.
Original PR description
Purpose ======= Allow the users to link their Facebook groups in Odoo, to see the feed of the groups and the group mentions. Specifications ============== Facebook API ------------ If we want to…
Purpose ======= Allow the users to link their Facebook groups in Odoo, to see the feed of the groups and the group mentions. Specifications ============== Facebook API ------------ If we want to access to the Facebook group of a user, we need to install our application in the setting of the Facebook group (Just adding app ID in the group setting, we do not need to develop something). > `https://developers.facebook.com/docs/groups-api` Features -------- So, in order to link the Facebook group to Odoo, the user have to 1. Link his Facebook account in Odoo (by clicking on the media) 2. We fetch from the Facebook API the groups of the user and we display them in Odoo 3. As we can link many pages to one group, the user have to choose which account he want to use to post on the Facebook group 4. Then, he can generate a `social.account` from the Facebook group and the Facebook page Task 2191132 PR #8639 See odoo/upgrade/pull/827 See odoo/iap-apps/pull/167