Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
4 Antworten
7333 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Autor Beste Antwort

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
Verwerfen
Beste Antwort

Please check this module odoo_apps

Avatar
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
3
Aug. 23
22130
0
Juli 15
4117
4
Mai 23
10701
1
Mai 21
4141
4
Okt. 19
9934