Skip to Content
Menu
This question has been flagged
3 Replies
16785 Rodiniai

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); });
        };
Portretas
Atmesti
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


Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
birž. 18
3879
1
birž. 18
4441
0
kov. 15
4150
0
rugs. 23
1569
1
birž. 23
4438