title: retrieve action window from a button openerp
body: <p>In my module I want to view form from a button click.</p>
  
  <p>this is my button "Postponed" with other workflow buttons</p>
  
  <pre><code>&lt;header&gt;
      &lt;button string="Planned" type="workflow" name="action_planned" class="" icon="gtk-undo" states="postponed"/&gt;
      &lt;button string="Complete" type="workflow" name="action_complete" class="" icon="gtk-apply" states="planned, postponed"/&gt;
      &lt;button string="Postponed" type="action" name="%(timetable_postponed)d" class="" icon="gtk-jump-to"/&gt;
      &lt;button string="Cancel" type="workflow" name="action_cancel" class="" icon="gtk-cancel" states="planned, postponed"/&gt;
      &lt;field name="state" widget="statusbar" readonly="True" statusbar_visible="planned, completed, postponed, cancelled"/&gt;
  &lt;/header&gt;
  </code></pre>
  
  <p>and this is my form view and action</p>
  
  <pre><code>    &lt;record id="timetable_postponed_view" model="ir.ui.view"&gt;
          &lt;field name="name"&gt;op.timetable.postponed&lt;/field&gt;
          &lt;field name="model"&gt;op.timetable&lt;/field&gt;
          &lt;field name="arch" type="xml"&gt;
              &lt;form string="Time Table Postponed" version="7.0"&gt;
                  &lt;field name="classroom_id" /&gt;
                  &lt;field name="period_id" /&gt;
                  &lt;field name="date" /&gt;
              &lt;/form&gt;
          &lt;/field&gt;
      &lt;/record&gt;
  
      &lt;act_window id="timetable_postponed"
              name="Postponed Timetable"
              res_model="op.timetable"
              view_mode="form"
              view_id="timetable_postponed_view"
              target="new"
              /&gt;
  </code></pre>
  
  <p>and while updating I got this error</p>
  
  <pre><code>       raise ValueError('External ID not found in the system: %s' % (xmlid))
     ParseError: "External ID not found in the system: myschool.timetable_postponed" while parsing file:///E:/Development/MySchool-Src/OSBT_0374/myschool/op_timetable/op_timetable_view.xml:111, near
     &lt;record id="view_op_timetable_form" model="ir.ui.view"&gt;
          &lt;field name="name"&gt;op.timetable.form&lt;/field&gt;
          &lt;field name="model"&gt;op.timetable&lt;/field&gt;
          &lt;field name="priority" eval="8"/&gt;
          &lt;field name="sequence" eval="4"/&gt;
          &lt;field name="arch" type="xml"&gt;
              &lt;form string="Time Table" version="7.0"&gt;
                  &lt;header&gt;
                      &lt;button string="Planned" type="workflow" name="action_planned" class="" icon="gtk-undo" states="postponed"/&gt;
                      &lt;button string="Complete" type="workflow" name="action_complete" class="" icon="gtk-apply" states="planned, postponed"/&gt;
                      &lt;button string="Postponed" type="action" name="%(timetable_postponed)d" class="" icon="gtk-jump-to"/&gt;
                      &lt;button string="Cancel" type="workflow" name="action_cancel" class="" icon="gtk-cancel" states="planned, postponed"/&gt;
                      &lt;field name="state" widget="statusbar" readonly="True" statusbar_visible="planned, completed, postponed, cancelled"/&gt;
                  &lt;/header&gt;
                  &lt;sheet&gt;
                      &lt;separator colspan="4" string="Time Table"/&gt;
                      &lt;group colspan="4" col="4"&gt;
                          &lt;field name="lecturer_id"/&gt;
                          &lt;field name="standard_id"/&gt;
                          &lt;field name="period_id"/&gt;
                          &lt;field name="subject_id"/&gt;
                          &lt;field name="classroom_id"/&gt;
                          &lt;field name="start_datetime"/&gt;
                          &lt;field name="end_datetime"/&gt;
                          &lt;field name="type"/&gt;
                      &lt;/group&gt;
                  &lt;/sheet&gt;
              &lt;/form&gt;
          &lt;/field&gt;
      &lt;/record&gt;
  </code></pre>
  
  <p>what should I do to retrieve this new window on my button click event...? </p>