Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3978 Zobrazení

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
Zrušit
Autor Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
led 17
3420
0
bře 15
4344
1
čvn 19
2669
0
bře 15
3763
1
bře 15
6480