← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 681046] Re: [v6 RC1] Product type "Consumable" in demo data

 

hello,

it is fix released. Demo products are stockable. By default, new product
will stay consumable, it avoids some stock exceptions in the simplify
interface context (and for users who don't use the logistic system). You
can use the set as default option to keep stockable value for new
product.

** Changed in: openobject-addons
       Status: New => Fix Released

-- 
[v6 RC1] Product type "Consumable" in demo data
https://bugs.launchpad.net/bugs/681046
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Fix Released

Bug description:
I just noticed that almost all products have product type = "Consumable"
why has it changed from "stockable product"?

I noticed in the file addons/product/product.py line in the _defaults dictionnary:
line 292: 'type': lambda *a: 'product',
and some lines below
line 307: 'type' : lambda *a: 'consu',

that explains why...
but I would keep it "stockable" so line 307 should be removed in my opinion

thnx





References