← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: 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





Follow ups

References