تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4014 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

Please refer to this video

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


Muhammed Ali - iWesabe

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يوليو 21
2083
0
نوفمبر 22
2934
1
يوليو 22
2798
1
يوليو 22
2569
0
سبتمبر 21
2461