İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4097 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
6
Şub 24
11904
1
Tem 25
414
2
Tem 25
592
1
Tem 25
1667
3
Nis 25
1713