Get JSON Data by Changing the URL in Odoo 18 | Odoo 18 New Features | Odoo 18 Release Date | Odoo 18 – CBMS Odoo ERP

To access a JSON view in Odoo, use the ir.ui.view model and its methods. Here are the main ways to access a JSON view: 1. By ID: Python view_id = 123 # Replace with the actual ID of your JSON view view = ir.ui.view.browse(view_id) json_data = view.arch 2. By name: Python view_name = ‘my_json_view’ view = […]