← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 705412] [NEW] [6.0][5.0] module product : when you delete a product the product template is not deleted

 

Public bug reported:

Hi
I found a bug on V5 and V6 version.
Scenario:
- install the module product on your database
- create a product
- delete the product

Look in the table product_template the object "product.template" created
was not deleted!

When you delete a "product.product", the "product.template" has to be
remove if no other "product.product" has the same "product.template".

I will also improve product_variant_multi in order to not delete the
"product.template" when the check box "is_multi_variants" is checked.

Best regards

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

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

Title:
  [6.0][5.0] module product : when you delete a product the product
  template is not deleted

Status in OpenERP Modules (addons):
  New

Bug description:
  Hi
  I found a bug on V5 and V6 version.
  Scenario:
  - install the module product on your database
  - create a product
  - delete the product

  Look in the table product_template the object "product.template"
  created was not deleted!

  When you delete a "product.product", the "product.template" has to be
  remove if no other "product.product" has the same "product.template".

  I will also improve product_variant_multi in order to not delete the
  "product.template" when the check box "is_multi_variants" is checked.

  Best regards





Follow ups

References