OpenERP v6.1 client display bug - button tip

Reported by Willow IT's Code Repository Admin on 2012-02-09
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Web Client
Undecided
Unassigned

Bug Description

There is a display bug we have found in testing v6.1. We have added a button to sale.view_order_form on the "Sales Order Lines" notebook. The button launches a server action, and has a "help=" attribute.

The help shows up as a "tooltip" (using Firefox), but when the view triggered by the action displays, the tooltip stays on the screen and does not disappear until after the launched view is closed.

Hello Willow IT's Code Repository Admin ,

I have checked this with stable as well as trunk and its
working fine at my end ,I have checked with Firefox and Chrome.
So would you please provide more information regarding
this issue.

I have attached a video for your more reference.

Thanks and waiting for reply!

Changed in openobject-client-web:
status: New → Incomplete

Thankyou for that. I have put the tooltip on the same button as you, and it worked as per the video.

The place where it does not work in my module is different from your example.

Your example has a button:
    <button colspan="1" name="%(action_view_sale_order_line_make_invoice)d" states="confirmed" string="Make Invoices" help="Richard" type="action" icon="terp-document-new"/>

which differs little from ours:

    <button name="%(action_w_config_launch_config)d" string="Configurator..."
        icon="gtk-properties" type="action" colspan="1"
        context="{'configurator_type': 'so'}"
        attrs="{'readonly': ['|', '|', ('id', '&lt;=', 0), ('has_configuration', '=', False), ('state', '!=', 'draft')]}"
        help="Edit Configurator choices"/>

The difference is the action in the sample code calls an action of type "ir.actions.act_window"
        <record id="action_view_sale_order_line_make_invoice" model="ir.actions.act_window">
            <field name="name">Make Invoices</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">sale.order.line.make.invoice</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="view_id" ref="view_sale_order_line_make_invoice"/>
            <field name="target">new</field>
        </record>

Our code is calling an action of type "ir.actions.server"
        <record id="action_w_config_launch_config" model="ir.actions.server">
            <field name="code">
# Call method action_config on the sales order line object, passing the context from the form.
# The method returns the window action definition to open whichever is the appropriate
# configurator wizard.
action = self.action_config(cr, uid, [], context=context)
</field>
            <field eval="5" name="sequence"/>
            <field name="state">code</field>
            <field name="type">ir.actions.server</field>
            <field name="model_id" ref="model_w_config_choices_wiz"/>
            <field name="condition">True</field>
            <field name="name">action_w_config_launch_config</field>
        </record>

I hope this helps direct you.

Thankyou,

Richard

Hello Willow IT's Code Repository Admin ,

I have checked this again with new web client , I have checked with
ir.actions.server type wizard but I did not face the problem , It's
working fine at my end ,I have checked with Firefox and Chrome.
So would you please provide more information regarding
this issue.

I have attached a video for your more reference.

Thanks and waiting for reply!

Hmmm. I will try and make it happen with a button in a base module. At the moment, it only happens on one button for us, in the module I am testing. :S

Hello ,

Would you please try with latest updated 6.1 , Currently Its working
fine at my end so I am closing this issue if you have found proper way
to reproduce it then you can reopen with more clarification.

Thank you!

Changed in openobject-client-web:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments