Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2120 Tampilan

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!

Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Sep 23
3635
1
Sep 21
26682
2
Feb 21
4321
2
Jul 20
3930
2
Mei 20
4826