Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4 Odpovědi
7303 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

Please check this module odoo_apps

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
srp 23
22040
0
čvc 15
4068
4
kvě 23
10601
1
kvě 21
4096
4
říj 19
9893