Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4044 Visualizações

Hello,

could someone point to example how to insert multiple records to transient model?

I want to insert multiple records in batch, not one-by-one. It can be done with SQL but is it possible with Odoo API?

For example, I need to create some custom report: first define transient model then insert here all or filtered records from a regular model (data table) and then do some calculations with this transient model.

Kind regards,
Arnis

Avatar
Cancelar
Melhor resposta

Hi,

Please refer to this video

https://www.youtube.com/watch?v=KnFhwl9quNQ


Muhammed Ali - iWesabe

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
jul. 21
2103
0
nov. 22
2951
1
jul. 22
2807
1
jul. 22
2582
0
set. 21
2472