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

Invalid field chain when Edit Filter #13

Closed
zalei-odoo opened this issue Jun 3, 2023 · 8 comments · Fixed by #14
Closed

Invalid field chain when Edit Filter #13

zalei-odoo opened this issue Jun 3, 2023 · 8 comments · Fixed by #14
Labels
bug Something isn't working

Comments

@zalei-odoo
Copy link

Greetings, using odoo16 I can’t use the filter for the spreadsheet.dashboard model in any way - please clarify - is this a bug or a limitation that requires the purchase of Enterprice version of odoo 16?
odoo16 version:
commit d84d41d7559b94f5195fb9b888149b8f30616172 (grafted, HEAD -> 16.0, origin/HEAD, origin/16.0)
Author: Rmi Rahir (rar) [email protected]
Date: Fri Jun 2 10:15:39 2023 +0000
spreadsheet version:
commit db8bcbe (HEAD -> 16.0, origin/HEAD, origin/16.0)
Author: Sandrine (ACSONE) [email protected]
Date: Thu May 25 09:49:15 2023 +0000

изображение
изображение

When selecting a field from the pop-up list and saving the parameters, it is possible to select filter values, but they are not applied to the spreadsheet table.
изображение

If this is not a limitation or a bug, please explain how to get around this error?

P.S. I apologize for the drawings, but I think I can explain it more clearly.

@zalei-odoo zalei-odoo added the bug Something isn't working label Jun 3, 2023
@etobella
Copy link
Member

etobella commented Jun 5, 2023

It works properly on runboat and locally, I am unable to see how you created the bug.

@zalei-odoo
Copy link
Author

I don't started runbot (I have never used it and I doubt that runbot caters for this situation), Locally:

  1. Create new database with Demo data.
  2. Activate Purchase module.
    изображение
  3. Activate Spreadsheet Oca module.
    изображение
  4. Create spreadsheet from menu "Spreadsheets" by clicking "New" button (type "test1" in field name and click "Save manually").
    Now I have empty spreadsheet with name "test1".
  5. In purchase.order pivot view click button "Add to spreadsheet" and select created spreadsheet with name "test1".
    изображение
    Then I can't apply filter by selecting "File - Filters" and clicking some button "Add date", "Add relation" or "Add text" - this situation I describe in my first comment. I see an error triangle with an exclamation point "Invalid field chain".

Probably I do something wrong, help me please, if so...

@zalei-odoo
Copy link
Author

etobella - Thank you for Pull request #14. I already tried to test it's changes - the "Invalid field chain" error really disappeared, but when changing the filter values (date, relation or text), the data in the spreadsheet still does not filtered.

One more moment - when, after saving the filter, again click on the gear to edit the properties - the selected earlier field in the filter is empty again.

@zalei-odoo
Copy link
Author

@etobella Thank you!

@etobella etobella linked a pull request Jun 11, 2023 that will close this issue
@vuongdz247
Copy link

etobella - Thank you for Pull request #14. I already tried to test it's changes - the "Invalid field chain" error really disappeared, but when changing the filter values (date, relation or text), the data in the spreadsheet still does not filtered.

One more moment - when, after saving the filter, again click on the gear to edit the properties - the selected earlier field in the filter is empty again.

It's not working for me. Please help me ....

@vuongdz247
Copy link

etobella - Thank you for Pull request #14. I already tried to test it's changes - the "Invalid field chain" error really disappeared, but when changing the filter values (date, relation or text), the data in the spreadsheet still does not filtered.
One more moment - when, after saving the filter, again click on the gear to edit the properties - the selected earlier field in the filter is empty again.

It's not working for me. Please help me ....

@zalei-odoo ,
@etobella

@etobella
Copy link
Member

etobella commented Jul 9, 2023

It does not work in which way ? @vuongdz247

@etobella
Copy link
Member

etobella commented Jul 9, 2023

Try again with the new changes...

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

Successfully merging a pull request may close this issue.

3 participants