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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
4040
查看
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',
})
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
0
1月 17
|
3468 | ||
|
0
3月 15
|
4411 | ||
|
1
6月 19
|
2718 | ||
|
0
3月 15
|
3937 | ||
|
1
3月 15
|
6592 |