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

Hello odoo folks,

Please someone could help me to call the following method correctly "

action_create_payments

":

models.execute_kw(db, uid, password, 'account.payment.register', 'action_create_payments', [])



Below is what I have already done above my issue and it works well :

invoice_id = models.execute_kw(db, uid, password, 'account.move', 'create', [invoice])

    r = models.execute_kw(db, uid, password, 'account.move', 'action_post', [invoice_id])

    payment_register = models.execute_kw(db, uid, password, 'account.move', 'action_register_payment', [invoice_id])

Avatar
Vazgeç
En İyi Yanıt

Hi, please check this: https://youtu.be/Cmbo2iGuTBY 
Hope it helps.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Tem 25
438
0
Tem 23
2961
0
Haz 22
2292
1
Mar 20
5042
1
Ağu 25
512