← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 697969] [NEW] [product_gtin] check_ean_key method is not overriden

 

Public bug reported:

Here are steps to reproduce :
- install new database from scratch
- install product_gtin from extra-addons
- in product view, enter 555555555 in EAN UPC JPC GTIN field and save --> we have 2 error messages :
Error occurred while validating the field(s) ean13: Error: Invaid ean code
Error occurred while validating the field(s) ean13: Error: Invalid EAN,UPC,JPC,GTIN code

- Enter a real UPC bar code in the field and save --> we have 1 error message :
Error occurred while validating the field(s) ean13: Error: Invaid ean code

it seems that the check_ean_key method is called twice and that
check_ean_key from product.product is not overriden

that bug occurs both in 5.0 an 6.0

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Description changed:

  Here are steps to reproduce :
  - install new database from scratch
  - install product_gtin from extra-addons
- - Enter 555555555 in EAN UPC JPC GTIN field and save --> we have 2 error messages :
+ - in product view, enter 555555555 in EAN UPC JPC GTIN field and save --> we have 2 error messages :
  Error occurred while validating the field(s) ean13: Error: Invaid ean code
  Error occurred while validating the field(s) ean13: Error: Invalid EAN,UPC,JPC,GTIN code
  
  - Enter a real UPC bar code in the field and save --> we have 1 error message :
  Error occurred while validating the field(s) ean13: Error: Invaid ean code
  
  it seems that the check_ean_key method is called twice
  
  that bug occurs both in 5.0 an 6.0

** Description changed:

  Here are steps to reproduce :
  - install new database from scratch
  - install product_gtin from extra-addons
  - in product view, enter 555555555 in EAN UPC JPC GTIN field and save --> we have 2 error messages :
  Error occurred while validating the field(s) ean13: Error: Invaid ean code
  Error occurred while validating the field(s) ean13: Error: Invalid EAN,UPC,JPC,GTIN code
  
  - Enter a real UPC bar code in the field and save --> we have 1 error message :
  Error occurred while validating the field(s) ean13: Error: Invaid ean code
  
- it seems that the check_ean_key method is called twice
+ it seems that the check_ean_key method is called twice and that
+ check_ean_key from product.product is not overriden
  
  that bug occurs both in 5.0 an 6.0

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

Title:
  [product_gtin] check_ean_key method is not overriden

Status in OpenObject Addons Modules:
  New

Bug description:
  Here are steps to reproduce :
- install new database from scratch
- install product_gtin from extra-addons
- in product view, enter 555555555 in EAN UPC JPC GTIN field and save --> we have 2 error messages :
Error occurred while validating the field(s) ean13: Error: Invaid ean code
Error occurred while validating the field(s) ean13: Error: Invalid EAN,UPC,JPC,GTIN code

- Enter a real UPC bar code in the field and save --> we have 1 error message :
Error occurred while validating the field(s) ean13: Error: Invaid ean code

it seems that the check_ean_key method is called twice and that check_ean_key from product.product is not overriden

that bug occurs both in 5.0 an 6.0







Follow ups

References