Tuesday, August 3, 2021
6 changes · master
New functionality added to Odoo
The Social app now supports connecting Instagram business accounts through Facebook, letting users monitor Instagram activity and create or schedule posts from Odoo. The update also improves social media handling reliability, demo data, and comment display behavior across supported networks.
Original PR description
PURPOSE This commit introduces the Instagram media implementation for the social app. SPECIFICATIONS The implementation uses the (Facebook) Instagram REST API to connect to Instagram accounts and…
PURPOSE This commit introduces the Instagram media implementation for the social app. SPECIFICATIONS The implementation uses the (Facebook) Instagram REST API to connect to Instagram accounts and allow users to monitor their account and view their posts, as well as add or schedule new ones. Users will have to connect their Instagram account and give the appropriate permissions (through their Facebook accounts). The Instagram social media implementation is a bit special because it goes through the Facebook API to fetch information (as Facebook owns Instagram). This also means the code implementation shares a lot of similarities with the Facebook one. That also means we can only add Instagram accounts through Facebook. Posting on Instagram is made a bit more difficult since it adds various conditions: - There has to be exactly one image associated to the post - The image has to be in the JPEG format - The image ratio needs to be between 4:5 and 1.91:1 More information can be found on the social.post#_get_instagram_image_error() method docstring. We took this opportunity to make a cleanup of the current social modules code. Details about every changes can be found in underlying commits. LINKS Task-2083592 UPG PR odoo/upgrade#784 IAP PR odoo/iap-apps#164
Enhancements to existing features
Enterprise screens have been adjusted to match the updated dropdown navigation and design behavior introduced in the main Odoo product. This should make menus easier and more consistent to use with a keyboard, improving accessibility and everyday navigation.
Original PR description
This PR makes enterprise adaptations for new dropdown keynav/design. Linked PR in community: odoo/odoo#73130
Miscellaneous changes
… bill from a document Ticket: 2519571 Forward-Port-Of: odoo/enterprise#19636 Forward-Port-Of: odoo/enterprise#19587
Original PR description
… bill from a document Ticket: 2519571 Forward-Port-Of: odoo/enterprise#19636 Forward-Port-Of: odoo/enterprise#19587
The Ask Feedback button now appears only when an appraisal is confirmed. This helps managers avoid requesting feedback too early and keeps the appraisal workflow clearer for users.
Original PR description
Only show the Ask Feedback button on Confirmed appraisals. TaskID: 2591003
…e to all records Since Odoo 13.0, compute fields must ensure to assign a value to all the records contained in `self`. In the current case, if rule_type was non standard on a record, if there is missing to calculate value of intercompany_transaction_message from that custom rule_type, of the record, therefore leading to a missing cache exception closes opw-2572725 Forward-Port-Of: odoo/enterprise#19938
Original PR description
…e to all records Since Odoo 13.0, compute fields must ensure to assign a value to all the records contained in `self`. In the current case, if rule_type was non standard on a record, if there is missing to calculate value of intercompany_transaction_message from that custom rule_type, of the record, therefore leading to a missing cache exception closes opw-2572725 Forward-Port-Of: odoo/enterprise#19938
Updating `account.move` records to the same value may somehow [1] lead to recomputing fields, e.g. `account.move::_compute_amount`, so filter records to avoid that. [1] via `mail.thread::_prepare_tracking` ? --- opw-2497288 Forward-Port-Of: odoo/enterprise#19731
Original PR description
Updating `account.move` records to the same value may somehow [1] lead to recomputing fields, e.g. `account.move::_compute_amount`, so filter records to avoid that. [1] via `mail.thread::_prepare_tracking` ? --- opw-2497288 Forward-Port-Of: odoo/enterprise#19731