Saturday, June 21, 2025
1 change · master
Resolved issues and error corrections
This fixes an error in Website Studio that occurred when users added a form and chose the model selection action. The missing shared function is now registered, so the form setup flow works as expected.
Original PR description
Since [1] when actions were converted to classes, the `selectModel` method is called through the dependencies/shared function mechanism. Unfortunately, the function could not be found because it was not registered as a shared function. This commit adds the function to the list of shared functions. Steps to reproduce: - Install website_studio - Drop a form - Pick the "Mode models" action => There was an error because `selectModel` could not be found. [1]: https://github.com/odoo/enterprise/commit/1f8b599a23330b03bffd898d85fe74a0f0eeda1f task-4367641