Skip to Content
Menu
This question has been flagged
4 Replies
6407 Views

hi ,

i want to print report that contains invoices with their payment filtred by date_payment but i dont find any relation to payment please help me

Thanks

Avatar
Discard
Best Answer

Hola Axel. He visto en otra respuesta tuya que el campo payment_ids se crea mediante una función y no queda almacenado en ninguna tabla. Por tanto, no se cómo relacionar el pago que queda registrado en el id de account.movie.line con otro campo de account.invoice o de otras tablas intermedias.

Desde luego lo ideal es que en el formulario de "Facturas de Proveedor" se pudiese incluir un campo que indicase la fecha de pago y el asiento del banco, pero me imagino que eso es harto difícil. 


English traslation (I hope):

Hello, Axel. I have seen in another answer of yours that the field payment_ids is created by a function and is not stored in any table. Therefore, there is no relation between  the payment that is registered in the id of account.movie.line with another field of account.invoice or other intermediate tables.

Of course the ideal is that in the form of "Supplier invoices" include a field that indicates the date of payment and the id of the bank payment registry, but I imagine that is very difficult.


Thanks

Avatar
Discard
Author Best Answer

thanks , i know that i can get payments in  my report by  the field 'payment_ids'  but in my case i want to get some invoices which date payment is between two date

Avatar
Discard
Best Answer

Please check this module odoo_apps

Avatar
Discard
Best Answer

In Odoo v8 you could get the payments of the invoice using the field payment_ids of the account.invoice which are actually account.move.line

You could get the payment info from there to your report 

Avatar
Discard
Related Posts Replies Views Activity
3
Aug 23
20595
0
Jul 15
3219
4
May 23
8703
1
May 21
2867
4
Oct 19
8648