← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Making product templates visible by default is useless if you use only
simple (flat) product, as you have all information in the product view.

If you want to see them and manage various product with a same template
just install "product_variant_multi" (and also
"product_variant_multi_advanced" if you want to manage easily the name
and description of your variants).

Yes Fabien, be sure that deleting a template with is in the 'mode'
"multi variants" will be allowed only if it don't have any variants.

Best Regards

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





References