<openerp>
   <data>
       <!-- Make BR from issue view -->
       <record id="view_create_br_from_issue" model="ir.ui.view">
          <field name="name">create.br.form</field>
          <field name="model">br.issue</field>
          <field name="arch" type="xml">
            <form string="Business Requirement from Issue">
                <group>
                    <field name="name" required="1"/>
                    <field name="requested_id" required="1"/>
                    <field name="responsible_id" required="1"/>
                    <field name="partner_id" required="1"/>
                    <field name="project_id" required="1"/>
                    <field name="to_be_reviewed"/>
                    <field name="priority" widget="priority"/>
                    <field name="reviewer_ids" widget="many2many_tags"
                           attrs="{'invisible': [('to_be_reviewed', '!=', True)]}"
                        />
                    <field name="business_requirement"/>
                </group>
                <footer>
                    <button name="create_br" string="_Create" type="object" class="oe_highlight"/>
                    or
                    <button string="Cancel" class="oe_link" special="cancel" />
                </footer>
            </form>
          </field>
       </record>
       <record id="action_create_br" model="ir.actions.act_window">
          <field name="name">Business Requirement from issue</field>
          <field name="type">ir.actions.act_window</field>
          <field name="res_model">br.issue</field>
          <field name="view_type">form</field>
          <field name="view_mode">form</field>
          <field name="target">new</field>
       </record>
   </data>
</openerp>
