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

Hi, I want to create/register invoice payment by coding on clicking by custom module button not from the "Register Payment" button on Invoice form view or from list view.How can it done by coding?

Avatar
Buang
Jawaban Terbai

Hello,

    You can achieve this by calling the function for validate in register payment and passing the required arguments in action for your created button.

example for calling function of another model self.env['sale.order'].function_name()

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
6
Feb 24
11888
1
Jul 25
360
2
Jul 25
547
1
Jul 25
1614
3
Apr 25
1676