Skip to Content
Menu
This question has been flagged
1 Atsakyti
4289 Rodiniai

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

Portretas
Atmesti
Autorius Best Answer

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',
})
Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
saus. 17
3724
0
kov. 15
4654
1
birž. 19
2918
0
kov. 15
4147
1
kov. 15
6882