Hi Guys,
I tried to check the multi-company is enabled or not. But it returning empty records.
Can anyone help me to find whether the multi-company is enabled or not?
Note: Without creating any additional records
Code Snippet
multi_company = self.env['res.config.settings'].sudo().search([])
Tried Snippet
multi_company = self.env['ir.config_parameter'].sudo().get_param('group_multi_company')
Thanks in Advance