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

[BUG] unclear error when calling metadata of a record that doesn't exist #42

Closed
yajo opened this issue Oct 21, 2021 · 2 comments
Closed
Labels
bug Something isn't working
Milestone

Comments

@yajo
Copy link
Contributor

yajo commented Oct 21, 2021

First of all, check that you are using the latest version.

Basic Info. (please complete the following information):

  • Odoo version: 12.0
  • Browser: firefox
  • Command: metadata product.template 80255

Describe the bug

[!] Error executing 'metadata':
create_uid is not defined

Expected behavior
Get metadata

Screenshots
imagen

@yajo yajo added the bug Something isn't working label Oct 21, 2021
@yajo
Copy link
Contributor Author

yajo commented Oct 21, 2021

OK I just realized that the problem is that there was no product.template with ID 80255.

Probably the message could be clearer about that.

@yajo yajo changed the title [BUG] metadata not working [BUG] unclear error when calling metadata of a record that doesn't exist Oct 21, 2021
@Tardo
Copy link
Owner

Tardo commented Oct 21, 2021

Yes, I should check the error messages.

@Tardo Tardo added this to the 8.3.0 milestone Oct 21, 2021
@Tardo Tardo closed this as completed Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants