Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4115 Переглядів

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

Аватар
Відмінити
Автор Найкраща відповідь

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',
})
Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
січ. 17
3564
0
бер. 15
4485
1
черв. 19
2786
0
бер. 15
4003
1
бер. 15
6682