跳至内容
菜单
此问题已终结
4 回复
7256 查看

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

形象
丢弃
最佳答案

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

形象
丢弃
编写者 最佳答案

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

形象
丢弃
最佳答案

Please check this module odoo_apps

形象
丢弃
最佳答案

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 

形象
丢弃
相关帖文 回复 查看 活动
3
8月 23
21986
0
7月 15
4019
4
5月 23
10531
1
5月 21
4059
4
10月 19
9830