text: Odoo Help
  Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
  CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
  How to hide an act_window at the top menu without deleting it?
  I've created an act_window. I've also created a button which calls this act_window. However, the act_window always appears at the top menu in the option More of the tree view of the source model. I want it to disappear, but I don't want to delete the act_window because it's called by my customized button.
  <act_window name="Invite partner to an event"
  res_model="mail.compose.message"
  src_model="event.registration"
  view_mode="form"
  multi="True"
  target="new"
  id="act_invite_partner_to_event"/>
  Can anyone help me, please?
  1. Delete the action , you dont need it
  2. change button type from "action" to "object"
  3. write a method that opens desired view like:
  def open_my_view(self,cr, uid, ids, context=None):
  view_ref = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'your_module_name', 'view_thate_should_be_opened')
  view_id = view_ref and view_ref[1] or False
  return {
  'type': 'ir.actions.act_window',
  'name': 'Some apropriate name',
  'res_model': 'your.model',
  'res_id': record_id, # if it is transient model first create record, othervise , provide some id
  'view_type': 'form',
  'view_mode': 'form',
  'view_id': view_id,
  'target': 'new',
  'nodestroy': True,
  }
  Hope it helps...
  May the source be with you !
  Thank you Bole! So, the only way to manage this is through Python, I didn't know