Skip to Content
Menu
This question has been flagged

Hi,

We are running the version 7 of OpenERP (nightly 2013-11-21), and we can not found a way to submit a wizard form by scanning a barcode (it seems that the 'default_focus' attribute on a button does not work), as the old wizard.interface behaviour.

The wizard form:

    <record id="view_wizard_stock_barcode_scanner_form" model="ir.ui.view">
        <field name="name">wizard.stock.barcode.scanner.form</field>
        <field name="model">wizard.stock.barcode.scanner</field>
        <field name="type">form</field>
        <field name="arch" type="xml">
            <form string="Barcode scanner" version="7.0">
                <group string="">
                    <field name="barcode"/>
                </group>
                <footer>
                    <button name="validate" type="object" default_focus="1"
                        string="Validate" class="oe_highlight"/>
                    <button special="cancel" string="Close" default_focus="0"/>
                </footer>
            </form>
        </field>
    </record>

Is there a way or a workaround to accomplish this kind of task?

Avatar
Discard
Related Posts Replies Views Activity
1
Sep 19
11105
0
Jun 19
3106
1
Mar 15
4207
0
Oct 24
118
0
Oct 24
79