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

Dataset option view crashes when the domain is not correct #5160

Open
2 tasks done
jok-adhoc opened this issue Nov 4, 2024 · 0 comments
Open
2 tasks done

Dataset option view crashes when the domain is not correct #5160

jok-adhoc opened this issue Nov 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jok-adhoc
Copy link

jok-adhoc commented Nov 4, 2024

Version (please indicate which version you are using):

  • 17.0
  • 18.0 potentially

Describe the bug
This bug occurs, at least in 17, when the domain of a dataset on odoo spreadsheet is not correct, it arises an error and the domain could not be change when clicking on the dataset options. I couldn't replicate it on 18 yet because there is a check step, but I think it could happen if the sheet comes from a migration process. This behaviour also prohibits users on 18 to move documents from a database to another if the document has a little domain error that they can change after uploading.

To Reproduce
This is a way to reproduce something that happens on migrations or moving osheets from a database to another

  1. Go to any spreadsheet
  2. Via JSON, modify the domain of a dataset that does not work (could be because the field is misspelled or does not exist)
  3. Upload and update the file
  4. Go to data menu and click the modified pivot
  5. Crashes

Expected behavior
It is expected to be able to inspect the dataset and change the domain. It may contain a legend informing it is not correct

Attachments
A modification of sale.osheet default template is attached. Pivot 3's domain has been changed
Sales.osheet (5).json

@jok-adhoc jok-adhoc added the bug Something isn't working label Nov 4, 2024
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

1 participant