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:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
2715
Views
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',
})
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Jan 17
|
2490 | ||
|
0
Mar 15
|
3234 | ||
|
1
Jun 19
|
1732 | ||
|
0
Mar 15
|
2644 | ||
|
1
Mar 15
|
5397 |