← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 726294] Re: inconsistence in form/tree of product.uom

 

Hello Phong,

Thanks for the detailed bug report and screenshots, but I'm afraid we
have to disagree with your analysis here.

The form view of Unit of Measure was modified in v6 due to numerous negative feedback we had from end-users, partners, trainees, etc. The old view required you to be able to understand perfectly the factor and be able to know when to use a value that is greater than 1 and when to use a value that is less than 1. 
This was in many case *totally counter-intuitive*.

Let me explain with 2 examples: 
Case A: you want to have Hour as the default Time UoM (factor=1), and Day as a secondary UoM that represents 8 Hours.
Case B: you want to have Day as the default Time UoM (factor=1), and Hour as a secondary UoM, with 8 hours in a Day.

Before v6, you had to set this:
Case A: Hour factor = 1, Day factor = 0.125   - Is that intuitive? I think not, look at the way I wrote the spec!
Case B: Day factor = 1, Hour factor = 8           - Is that intuitive? Perhaps, not sure.

Now in v6, here is what you do:
Case A: Hour = reference unit, Day = bigger than reference, Ratio = 8
Case B: Day = reference unit, Hour = smaller than reference, Ratio = 8

Our test users all found the v6 version much more intuitive and easy to
use. You even have the tooltip on the Ratio that tells you "How many
time this unit is _smaller_ than..." or "How many times this unit is
_bigger_ than..."

Keep in mind that making a mistake and setting the inverse factor for a
UoM could have very dire consequences, like ordering 1000 tons of
products instead of 1 gram.

I hope you understand why we prefer to keep the new form system...

** Changed in: openobject-addons
       Status: New => Opinion

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

Title:
  inconsistence in form/tree of product.uom

Status in OpenERP Modules (addons):
  Opinion

Bug description:
  The form view product.uom.form is not correct/consistent in regards to
  product.uom.tree. In the product.uom.tree view, the field "factor" is
  used and correctly shown. In product.uom.form, "factor" and
  "factor_inv" is used depending on whether the unit is bigger or
  smaller than the reference price, together with notes explaining the
  usage, but I think the notes/the code is not correct: it should be the
  opposite. This is very confused, for people new to OpenERP (when using
  the form view to add/edit)

                              <group colspan="2" col="2">
                                    <group col="2" colspan="2" attrs="{'invisible':[('uom_type','!=','smaller')]}">
                                          <field name="factor"/>
                                          <label colspan="2" string="  e.g: 1 * (reference unit) = ratio * (this unit)"/>
                                     </group>
                                     <group col="2" colspan="2" attrs="{'invisible':[('uom_type','!=','bigger')]}">
                                          <field name="factor_inv"/>
                                          <label colspan="2" string="  e.g: 1 * (this unit) = ratio * (reference unit)"/>
                                     </group>
                              </group>



References