Skip to Content
मेन्यू
This question has been flagged
1 Reply
4007 Views

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
Discard
Author 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',
})
Avatar
Discard
Related Posts Replies Views Activity
0
जन॰ 17
3433
0
मार्च 15
4358
1
जून 19
2674
0
मार्च 15
3780
1
मार्च 15
6514