Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3234 มุมมอง

I am new to Odoo and trying to using JSON RPC call to Create/Register a Payment in Odoo. 

1. what is the context param ? I am finding it hard to understand what I need to send? What is the id, action, menu_id, active_ids, default_invoice_id, search_disable_custom_filter, etc? 


2. Is there any relevant documentation for create payment? 


 "context": {

           "lang": "en_US",

           "tz": "America/Chicago",

           "uid": {{userId}},

           "params": {

              "id": 29,

              "action": 504,

              "model": "account.invoice",

              "view_type": "form",

              "menu_id": 502

            },

            "type": "out_invoice",

            "journal_type": "sale",

            "active_model": "account.invoice",

            "active_id": 29,

            "active_ids": [

              29

            ],

            "default_invoice_ids": [

              [

                4,

                29,

                null

              ]

            ],

            "search_disable_custom_filters": true

        }

    }


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ย. 20
1996
0
ธ.ค. 21
2167
29
ธ.ค. 20
17563
1
ต.ค. 17
7227
2
มี.ค. 15
6353