Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4260 Vues

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
Ignorer
Auteur Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
0
janv. 17
3707
0
mars 15
4631
1
juin 19
2897
0
mars 15
4124
1
mars 15
6856