Skip to content
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

[ALL] documentation: document calling wizards through XML-RPC #51241

Open
Yenthe666 opened this issue May 14, 2020 · 3 comments
Open

[ALL] documentation: document calling wizards through XML-RPC #51241

Yenthe666 opened this issue May 14, 2020 · 3 comments

Comments

@Yenthe666
Copy link
Collaborator

Impacted versions: All

Steps to reproduce: Look at the docs about the XML-RPC (https://www.odoo.com/documentation/13.0/webservices/odoo.html).

Current behavior:
There is no information about how to call wizards and how to set contexts.

Expected behavior:
Documentation sample about calling wizards (with and without context)

@Yenthe666
Copy link
Collaborator Author

@mart-e what do you think? Couldn't find any reference or doc about it :)

@mart-e
Copy link
Contributor

mart-e commented May 14, 2020

Hi,

Calling wizard is like any other models. You call create to have an id and then the specific method you want with this id.
As for context, it is a simple positional argument like you have offset and limit on the search example.
At rpc level, wizard are like any other modules.

cc @Feyensv in case he plans to improve the rpc documentation in the future and make it clear.

@pedrobaeza
Copy link
Collaborator

I don't think either wizards should be treated in a special way in the documentation. The only difference is about their persistence in DB, but not the way they are handled through ORM/external API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants