Closed yajo closed 3 years ago
I agree, the extension should not mask these types of conversions. It will be more "tedious" to use, but it will be 100% unadulterated.
In this specific case, the odoo framework expects to receive an array of objects, not a string. But I'm going to try to use some more "low-level" way to bypass these kinds of framework "restrictions".
If I issue this command:
This is the payload that is sent over the wire:
You see that
"order": "insert DESC"
? OdooTerminal hacked my hacking!It seems to come from this call: https://github.com/Tardo/OdooTerminal/blob/afa4863e9f11d70950a826e4bd8a95c2798877ff/odoo/js/functions/common.js#L1138
It should be removed IMHO, and sent raw, to allow more hacking.
TT31444