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

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
Buang
Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Jul 25
240
0
Jul 23
2827
0
Jun 22
2159
1
Mar 20
4870
1
Agu 25
248