Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4092 Widoki

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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',
})
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sty 17
3549
0
mar 15
4472
1
cze 19
2778
0
mar 15
3984
1
mar 15
6656