Set Accounting Options for all Companies True ir.actions.server code self.auto_execute(cr, uid, context=context) config = self.next(cr, uid, [], context=context) or {} if config.get('type') not in ('ir.actions.act_window_close',): action = config 10 automatic open