-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IMP] *: correct create examples #12527
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feyensv
reviewed
Mar 17, 2025
content/administration/odoo_sh/getting_started/first_module.rst
Outdated
Show resolved
Hide resolved
@robodoo squash |
Merge method set to squash. |
Fix some examples to match the method definition of Model.create().
e5b0e13
to
a24a0fb
Compare
rco-odoo
approved these changes
Mar 20, 2025
@robodoo delegate+ |
Feyensv
approved these changes
Mar 20, 2025
@robodoo r+ |
robodoo
pushed a commit
to odoo/odoo
that referenced
this pull request
Mar 20, 2025
Move the methods to sanitize into the test and add modules to ignore so that we can further remove the ignored methods. Add a note to sanitize all methods in the future. Part-of: #202106 Related: odoo/enterprise#81599 Related: odoo/documentation#12527 Signed-off-by: Raphael Collet <[email protected]>
robodoo
pushed a commit
to odoo/odoo
that referenced
this pull request
Mar 20, 2025
One exception exists in `ir.config_paramter`, ignore it for now so that the test runs for other models. Part-of: #202106 Related: odoo/enterprise#81599 Related: odoo/documentation#12527 Signed-off-by: Raphael Collet <[email protected]>
robodoo
pushed a commit
to odoo/odoo
that referenced
this pull request
Mar 20, 2025
Check that the create method is properly overridden. Forgetting to add `@api.model_create_multi` makes most methods unusable over RPC. closes #202106 Related: odoo/enterprise#81599 Related: odoo/documentation#12527 Signed-off-by: Raphael Collet <[email protected]>
robodoo
pushed a commit
that referenced
this pull request
Mar 20, 2025
Fix some examples to match the method definition of Model.create(). closes #12527 Related: odoo/odoo#202106 Related: odoo/enterprise#81599 Signed-off-by: Krzysztof Magusiak (krma) <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix some examples to match the method definition of Model.create().
odoo/odoo#202106