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

When I create an Invoice (account.invoice) by code which doesn't showing outstanding payment . On the other hand while creating  thorough erp which shows the outstanding payment of  customer. How to solve it ? odoo version 11

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

This is happening because I didn't give  'type': 'out_invoice', in invoice create function

inv = inv_obj.create({'partner_id': self.customer.id,
'invoice_line_ids': line_ids,
'name': self.name,
'type': 'out_invoice',
})
الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يناير 17
3638
0
مارس 15
4563
1
يونيو 19
2852
0
مارس 15
4074
1
مارس 15
6789