Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4047 Представления

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
3477
0
мар. 15
4418
1
июн. 19
2726
0
мар. 15
3954
1
мар. 15
6606