Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3170 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
set 20
1971
0
dic 21
2099
29
dic 20
17500
1
ott 17
7131
2
mar 15
6279