İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4099 Görünümler

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

Avatar
Vazgeç
Üretici En İyi Yanıt

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',
})
Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Oca 17
3553
0
Mar 15
4478
1
Haz 19
2782
0
Mar 15
3985
1
Mar 15
6664