Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
16642 Vistas

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
Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
0
jun 18
3743
1
jun 18
4245
0
mar 15
4070
0
sept 23
1414
1
jun 23
4286