'Returns the act_window object created for the provided xml_id
:param module: the module the act_window originates in
:param xml_id: the namespace-less id of the action (the @id
attribute from the XML file)
:return: A read() view of the ir.actions.act_window'

@api.model
def for_xml_id(self, module, xml_id):

    record = self.env.ref(('%s.%s' % (module, xml_id)))
    return record.read()[0]
