Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4 Răspunsuri
7264 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

Please check this module odoo_apps

Imagine profil
Abandonează
Cel mai bun răspuns

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 

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
aug. 23
21995
0
iul. 15
4031
4
mai 23
10536
1
mai 21
4062
4
oct. 19
9842