Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1275 Lượt xem

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])

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 7 25
383
0
thg 7 23
2937
0
thg 6 22
2274
1
thg 3 20
5006
1
thg 8 25
491