← Back to team overview

openerp-india team mailing list archive

[Bug 919146] Re: Product Templates cannot generate Variants

 

Hi Amit,

I found the problem was with the default expression in the 'Code
Generator' field i.e:  [_'-'.join([x.option_id.code for x in
o.dimension_value_ids] or ['CONF'])_]

I changed this to be:  [_o.variants_]   which now works okay for me, but
not sure why the original expression causes an error?

Thanks for your time taken in looking into this issue.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/919146

Title:
  Product Templates cannot generate Variants

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  OS: Windows 7
  OpenERP release: 6.1 rc1-20120112-173907
  Module: product_variant_multi

  Steps to reproduce bug:
  1. I imported product_variant_multi module successfully into OpenERP 6.1.
  2. I then open window 'Product Templates' and capture necessary fields and then go to the 'Variants' tab.
  3. I add new Dimensions and Dimension Values successfully.
  4. I then click the 'Generate / Update variants ->' button to create all the product variants in the Variants list on the right, but an error message ending in "...TypeError: sequence item 0: expected string, bool found"  pops up and I cannot continue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/919146/+subscriptions


Follow ups

References