I created this excel report, I report is executing without errors
I have used a for loop for a one2many field in the form, but in some forms the one2many field is empty, while I am executng the report only the forms where one2many field has values is showing and its skipping the forms with null valjue in the one2many field
Please check the code:
for record in claim.appointment_disease_ids:
worksheet.write(row, 31, record.code)
worksheet.write(row, 32, record.diease_id.name)
any suggestion on how to do a looping for the null one2many field
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1718
أدوات العرض
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
0
فبراير 22
|
52 | ||
|
1
سبتمبر 22
|
3521 | ||
|
2
يونيو 17
|
125 | ||
|
2
نوفمبر 16
|
6207 | ||
|
1
ديسمبر 23
|
2244 |