Skip to Content
Menú
This question has been flagged
3 Respostes
16811 Vistes

Hi, i work with odoo 13. I trying get all the rows, from my table. What should I pass in my arg, for get all the string at once?


My code:

 var res = rpc.query({
            model: 'my model',
            method: 'read',
            args: [????]
        }).then(function (data) {
            console.log(data); });
        };
Avatar
Descartar
Best Answer

This is a duplicated question

See my answer at your other question at: https://www.odoo.com/es_ES/forum/ayuda-1/question/how-to-use-rpc-query-in-javascript-with-read-method-for-get-all-rows-from-table-173529


Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de juny 18
3889
1
de juny 18
4453
0
de març 15
4165
0
de set. 23
1574
1
de juny 23
4446