This question has been flagged

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

        }

    }


Avatar
Discard