What does this code do ?
todo = self.env['ir.actions.todo']
action_rec = self.env['ir.model.data'].xmlid_to_object('account.action_wizard_multi_chart')
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
What does this code do ?
todo = self.env['ir.actions.todo']
action_rec = self.env['ir.model.data'].xmlid_to_object('account.action_wizard_multi_chart')
Hi,
xmlid_to_object returns actual object based on xml_id.
So, in the action_res you would find the of the actual xml object. I guess something like (ir.action.window, 7). You may access it data: e.g. action_res.domain
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up