Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4075 Vistas

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

Avatar
Descartar
Autor Mejor respuesta

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',
})
Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ene 17
3533
0
mar 15
4459
1
jun 19
2772
0
mar 15
3979
1
mar 15
6636