← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 716292] Re: [6.0.1 stable] default_focus with on_change on same form stops flow of data entry

 

Maybe what I wrote is not clear.

Lets me try explaining it like this.

I want to sell a PALLET of beer. I go the sale order form, and by
default the system knows I NORMALLY want to sell it by the CARTON.

In the sale order form, where CARTON is suggested by default for the
product, I enter PALLET.

It is at this point (entering a different UOM than the one suggested by
default), that the focus is changing back to the product id.

This is quite unworkable in the real world when this potential client
sells everything in cartons and pallets and their existing ERP system
allows them to enter orders extremely fast.

This issue has hi-lighted itself here, but we are sure that it would be
happen across other areas in OpenERP as well.

What makes best sense to us is to have the default focus should only
take affect when you first go to a form, and after saving a form and
about to start a new entry.

I await your reply.

Thanks

-- 
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/716292

Title:
  [6.0.1 stable] default_focus with on_change on same form stops flow of
  data entry

Status in OpenERP Server:
  Incomplete

Bug description:
  To the form that adds order lines to a sale order, we added
  default_focus=”1” (form id is view_order_form_inherit_1 in the
  sale_layout_view.xml).

  The idea was to enable user to input data quickly using keyboard and
  not mouse (at prospective users request).

  Then enter a product and tab to the UOM and try and change it. It then
  set focus back to the product id field (very annoying for the user).

  It appears as if default_focus should not be activated by an on_change
  event.

  This would ensure smooth and efficient data entry.



References