Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4048 Weergaven

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
Annuleer
Auteur Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
jan. 17
3478
0
mrt. 15
4419
1
jun. 19
2727
0
mrt. 15
3954
1
mrt. 15
6606