Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1053 Vues

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
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Publications associées Réponses Vues Activité
0
juil. 25
185
0
juil. 23
2800
0
juin 22
2147
1
mars 20
4834
1
août 25
178