<?xml version="1.0" encoding="utf-8" ?>
<openerp>
  <data>
    <record id="view_program_team_form" model="ir.ui.view">
      <field name="name">Program Team Form</field>
      <field name="model">program.action</field>
      <field name="inherit_id" ref="program.view_program_action_form" />
      <field name="arch" type="xml">
        <xpath expr="//notebook/page[@name='children']" position="before">
          <page name="team" string="Team">
            <group colspan="4" col="2">
              <field name="team_department">
                <tree editable="bottom">
                  <field name="department" />
                  <field name="role" domain="[('department', '=', True)]" />
                </tree>
              </field>

              <field name="team_member">
                <tree editable="bottom">
                  <field name="employee" />
                  <field name="role" domain="[('employee', '=', True)]" />
                </tree>
              </field>

              <field name="team_partner">
                <tree editable="bottom">
                  <field name="organisation" domain="[('is_company', '=', True)]" />
                  <field name="role" domain="[('partner', '=', True)]" />
                  <field name="contribution" />
                </tree>
              </field>
            </group>
          </page>
        </xpath>
      </field>
    </record>
  </data>
</openerp>

<?xml version="1.0" encoding="utf-8" ?>
<openerp>
  <data>
    <record id="view_program_team_form" model="ir.ui.view">
      <field name="name">Program Team Form</field>
      <field name="model">program.action</field>
      <field name="inherit_id" ref="program.view_program_action_form" />
      <field name="arch" type="xml">
        <xpath expr="//notebook/page[@name='children']" position="before">
          <page name="team" string="Team">
            <group colspan="4" col="2">
              <field name="team_department">
                <tree editable="bottom">
                  <field name="department" />
                  <field name="role" domain="[('department', '=', True)]" />
                </tree>
              </field>

              <field name="team_member">
                <tree editable="bottom">
                  <field name="employee" />
                  <field name="role" domain="[('employee', '=', True)]" />
                </tree>
              </field>

              <field name="team_partner">
                <tree editable="bottom">
                  <field name="organisation" domain="[('is_company', '=', True)]"
                         context="{'default_is_company': True}" />
                  <field name="role" domain="[('partner', '=', True)]" />
                  <field name="contribution" />
                </tree>
              </field>
            </group>
          </page>
        </xpath>
      </field>
    </record>
  </data>
</openerp>

Make organization a company by default
Make organization a company by default
