-
-
Notifications
You must be signed in to change notification settings - Fork 66
[18.0][MIG] spreadsheet_oca: Migration to 18.0 #72
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
[18.0][MIG] spreadsheet_oca: Migration to 18.0 #72
Conversation
With this change we are adding an extra layer of security. Without it, any user was able to sniff how all happened using something like:
const any_spreadsheet_id = 1234;
const channel = "spreadsheet_oca;spreadsheet.spreadsheet;" + any_spreadsheet_id;
bus_service.addChannel(channel);
bus_service.addEventListener("spreadsheet_oca", (message) => /* every revision arrives here */
With the change, we verify the access to the model with a similar logic to `web_editor` fields
Hi @CarlosRoca13 Note that nothing should have been changed in the list data source insert, I left that working as it was before. |
|
Hmmm, okay... But if I want, for example, that the pivot has 10 rows instead of 2 that are set on the pivot? I don't see the way of doing this and I think it is a lost feature |
I agree it is a compromise, however couldn't find an alternative and wanted to keep it simple. |
5bb34a9 to
5a54fb3
Compare
|
Fixed the collaborative here: chrisandrewmann#1 |
Awesome! Thanks @etobella Merged and should be testable in here now. |
|
Please do a rebase a get rid-off the merge commit, and it would be nice if you squash administrative commits into the main one. |
97defce to
69ae03c
Compare
Done! |
|
@CarlosRoca13 I tested locally and everything seemed to work. I see that you asked for some changed. They are still missing? |
Hi @etobella The creation of dynamic pivots with different number of rows, but I can add it in other PR. So I will not block this more time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok! Let's proceed with merge so we can continue with this
/ocabot merge nobump
|
This PR has the |
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at 14157a6. Thanks a lot for contributing to OCA. ❤️ |
|
Agh, I was reducing commit history and you let me no time... |
|
@CarlosRoca13 the dynamic thing is not needed anymore: |
I know that the pivots are dynamic by default, but in previous versions, I could add a dynamic pivot with more rows/columns than the shown on the pivot, now it is not possible. If you think that this is not necessary I will not invest time on recover it. |
|
Oh, okay, I see that the new row was added, sorry, I did not see it on my first watch |
|
/ocabot migration spreadsheet_oca |



Continues and supercedes odoowired's PR #65
I'll summarise below.
Forward ported PRs from V17
Fixes done over original PR