Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
1060 Visninger

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
Kassér
Bedste svar

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

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
jul. 25
190
0
jul. 23
2805
0
jun. 22
2148
1
mar. 20
4844
1
aug. 25
191