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

Hi,

I have created custom One2many field same as sale.order.line for adding the extra charges in sale order. and later that charges are added into total amount But when I create a invoice for that sale order, payment is not getting register for charges added through that custom One2many field. (screenshot: https://prnt.sc/qhd3cy )

could anyone advise me to do this.

Thanks in advance!

形象
丢弃
最佳答案

Hi,

You might have to change the compute functions of the field Amount Due and the payments_widget fields to adapt the changes you have made. You can check the compute functions for the field amount_residual and payments_widget and see how the value is computed. 

Also i think, rather than passing shipping lines as separate try to pass it as one of the invoice line, so that the things will be easier for you. 

Thanks

形象
丢弃
相关帖文 回复 查看 活动
1
9月 23
3657
1
9月 21
26702
2
2月 21
4327
2
7月 20
3970
2
5月 20
4840