Thursday, December 15, 2022
1 change · master
New functionality added to Odoo
Support teams can now add logging to automated server actions, including optional stack details, to help trace unexpected data changes. This makes it easier to investigate hard-to-reproduce issues without changing normal business workflows.
Original PR description
This PR is mainly meant for the support. Note that the `stack_info` is purposefully accessible to add some stack trace in the logs. Example of support tickets where it can be useful: A certain field of a particular model change it's value with no particular pattern and way to reproduce. With this commit, we can now create an automated actions on the model update trigger to dump the current stack that will lead us on the action that did trigger it. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr