← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 763819] Re: Button in a board

 

Sure the code is the following:

<record id="xxx" model="ir.ui.view">
            <field name="name">board.xxx.form</field>
            <field name="model">board.board</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="xxx">
                    <hpaned>
                        
                        <child1>
                            
                            <action colspan="4" height="160" name="%(act_my_xxx)d" string="xxx" width="510"/>
                            <action colspan="4" height="160" name="%(act_my_xxx)d" string="xxx" width="510"/>
                            <button colspan="2" icon="gtk-add" name="%(xxx_action_form)s" string="Create New" type="action"/>
                            <button colspan="2" icon="STOCK_ZOOM_IN" name="%(xxx_action_tree)d" string="Find" type="action"/>
                        </child1>
                    </hpaned>
                </form>
            </field>
        </record>


The xxx_action_form and xxx_action_tree are simple ir.actions.act_window actions.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/763819

Title:
  Button in a board

Status in OpenERP Web Client:
  Incomplete

Bug description:
  I 've added a button in a custom board form with an action
  ir.actions.act_window to execute in order to open a form to create a
  new record.

  In GTK Client it works fine. In web client it opens the form but in a
  popup window where it re-loads all the Open ERP Interface.

  I don't know if there is a bug but I think it's a little weird


References