Daily updates from Odoo
Thursday, February 29, 2024
2 changes
Resolved issues and error corrections
Instagram login was not working due to a missing permission. This fix adds the required business_management permission and updates the Instagram integration to the latest version. Users will now be able to successfully log in to their Instagram accounts through Odoo.
Original PR description
Bug === Currently, we can not login to Instagram, because a permission is missing. This commit adds the missing permission, and we upgrade from 10.0 to 17.0. Task-3761561 Forward-Port-Of: odoo/enterprise#57693 Forward-Port-Of: odoo/enterprise#57218
This fix ensures that when invoice line account details are changed (such as switching from Product Sales to Current Assets), all authorized users including accountants and auditors can now see these changes in the activity log. Previously, only system administrators could view these account modification details, which prevented proper audit trails for financial records.
Original PR description
Steps to reproduce: - Create an invoice and confirm it - reset to draft - change the account of an aml (product sales -> asset) -> on the log note you will see the detail of the modification `Account: 400000 Product Sales -> 101000 Current Assets` - connect with Demo - go on the same invoice Issue: You will not see the details of the aml account change This is problematic since Accountant and auditors should be able to see it. Cause: Sub-model tracking is not supported. Although we override this constraint in accounting (refer to https://github.com/odoo/odoo/blob/f56de22f10d09e6e34b25cbff04bbb6bf0823e54/addons/account/models/account_move.py#L5058-L5071), it remains inaccessible for users other than base.system. This is because we attempt to locate the account_id field on the model account.move defined in tracking.mail_message_id. opw-3632295 Forward-Port-Of: odoo/odoo#154690 Forward-Port-Of: odoo/odoo#151096