My apologizes to bring this up again - the last time I promise. Situation in 4.2-RC4 * Entering a 13 digit EAN checks the value and eventually raises an error. * Entering a 12 digit number - which might well be a UPC number - causes the system to calculate a check digit and stores it QUIETLY(!) as a 13 digit EAN. This is extremely dangerous because ** it could be a typo - just forgot to type a digit. ** it could be a valid UPC number which consists only of 12 digits * Entering a 8 digit EAN8 is not possible.
The argument, that a user has to add the leading 0 for UPC numbers is very weak, because of the length of the number one has to count the digits to know if the number has 12 or 13 digits. in short EAN13 is composed of 0 + UPC. see http://en.wikipedia.org/wiki/European_Article_Number and http://tinyforge.org/tracker/?func=detail&atid=129&aid=315&group_id=13 I agree that the field currently is called EAN13 and hence it should be only used as EAN13 but WITHOUT (!) autocompletion. But a better and universal solution - especially for the US market - would be to change the name to EAN/UPC and adopt the proposed solution in various postings _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
