← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

so I understand from what you are saying that a Consumable product behaves like a Stockable product in v6?
A consumable product is supposed to have infinite stock, so I don't think it's a good idea for testing purposes

the set as default option won't change all the values but will only
affect the newly created ones

thnx

** Changed in: openobject-addons
       Status: Invalid => In Progress

** Changed in: openobject-addons
       Status: In Progress => Opinion

** Changed in: openobject-addons
       Status: Opinion => New

-- 
[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: New

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