Comment 0 for bug 1015662

Revision history for this message
Fabio Colognesi (fabio-colognesi) wrote :

On version 6.1.1 (10 June 2012 build) custom action, defined as follows (see xml code below), won't be executed from web interface. Same action is executed successfully from GTK Client.
In both client the from will be raised. clicking on "Create Standard Bom" button and waiting in debug mode on eclipse in "action_create_normalBom" nothing happens if launched from web Client.

    <record id="plm_component_create_normalbom" model="ir.ui.view">
        <field name="name">plm.relation.normal</field>
        <field name="model">product.product</field>
        <field name="type">form</field>
        <field name="arch" type="xml">
        <form string="Creation of Standard Bom">
            <label string="Are you sure you want to create a new Standard Bom?" colspan="4"/>
            <separator string="" colspan="4" />
            <group colspan="4" col="6">
             <button icon="gtk-cancel" special="cancel" string="Cancel"/>
             <button icon="terp-gtk-go-back-rtl" special="cancel" string="Create Standard Bom" name="action_create_normalBom" type="object"/>
            </group>
        </form>
        </field>
    </record>

    <act_window name="Create Standard Bom"
        res_model="product.product"
        src_model="product.product"
        view_mode="form"
        view_id="plm_component_create_normalbom"
        target="new"
        key2="client_action_multi"
        id="act_create_normalBom"/>