[17.0][MIG] spreadsheet_oca: Migration to 17.0 - #40
FernandoRomera wants to merge 139 commits into
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
754e885 to
993cab6
Compare
c61f967 to
39fd295
Compare
|
Please squash administrative commits into the relevant ones, like this: In fact, all that .pot files updates are due to a bug in Odoo codebase that was fixed in 17.0 (and backported to 16.0 when we warned about it: odoo/odoo#172896). |
|
/ocabot migration spreadsheet_oca |
dee2451 to
21abae1
Compare
21abae1 to
a2306cb
Compare
|
I tried to the module, but I have an error when I try to add to spreadsheet : UncaughtPromiseError Error: Component is destroyed |
|
Good morning, I have checked at a functional level the migration and I have found the following error: TypeError: env.raiseError is not a function I get this error when I try to copy and paste a cell into a spreadsheet. Exactly the error appears when I apply the paste function. Thanks in advance. |
|
Hi Fernando, first of all - thank you so much for your work! I tried debugging it but failed unfortunately in fixing it. I was able to figure out that within the Dialog Component (of Odoo Base) this.data = useState(this.env.dialogData is called but dialogData is not set. Sorry for not being much more help! |
|
Hello , I tried to migrate to version 17, but when I click on the pivot table icon, it shows me the following error: "UncaughtPromiseError > OwlError Caused by: TypeError: ctx.getSpreadsheetInsertionTooltip is not a function |
same thing here in v17 |
|
Superseded by #60 |

No description provided.