Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

New Product Types

By
Aftab Naveed
on 3/30/15, 6:44 PM 1,696 views

Is it possible to create new product types in addition to Service, Stockable and Consumable, if yes then what areas of Odoo I may need to adjust those in ?

The product type I need to add would be some thing like Stockable Part

Aftab Naveed
on 3/30/15, 7:30 PM
1

Cyril Gaspard (GEM)

--Cyril Gaspard (GEM)--
4136
| 5 6 8
Paris, France
--Cyril Gaspard (GEM)--

Forum contributor since 2008

Cyril Gaspard (GEM)
On 3/30/15, 7:26 PM

in field definition,

original field is in product module :


'type': fields.selection([('consu', 'Consumable'),('service','Service')], 'Product Type', required=True, help="Consumable are product where you don't manage stock, a service is a non-material product provided by a company or an individual."),

override in stock module :


'type': fields.selection([('product', 'Stockable Product'), ('consu', 'Consumable'), ('service', 'Service')], 'Product Type', required=True, help="Consumable: Will not imply stock management for this product. \nStockable product: Will imply stock management for this product."),


create a new module depending stock module and override the field by adding tuple you need to the selection field

0
Dr Obx
On 3/31/15, 4:23 AM

As Cyril wrote it shouldn't be a problem, tested similar things in my system and it works so .... go ahead :)

Backup first and copy original file before make any changes.


What means "works"? Technically or did you do a comprehensive end-to-end testing of the consistency of the quantity and value flows over all business processes of the complete value chain?

Ermin Trevisan
on 4/1/15, 4:07 AM
Technically ... you can add whatever you want and it will be displayed if set but will it do anything else .... will system treat it as Stockable, Consumable, Service or Event. I'm not sure is there any function attached to each of these elements ? If so, New product will not work as the other works.


On Wed, Apr 1, 2015 at 9:07 AM, Ermin Trevisan <trevi@twanda.com> wrote:

What means "works"? Technically or did you do a comprehensive end-to-end testing of the consistency of the quantity and value flows over all business processes of the complete value chain?

--
Ermin Trevisan
Sent by Odoo S.A. using Odoo access your messages

Dr Obx
on 4/5/15, 12:35 PM
0

Ermin Trevisan

--Ermin Trevisan--
3524
| 6 3 7
Walchwil, Switzerland
--Ermin Trevisan--


Ermin Trevisan
On 3/31/15, 2:10 AM

As Cyril explained, you can quite easily do that. But are you sure about the consequences? Why would you like to do that at all? What is the difference between a stockable product and a stockable part? Do you know what happens with your warehouse management, the inventory valuation, your bill of materials (if any) etc.? What if you have to deliver spare parts? Product definition is at the heart of an ERP system, I would never ever do something like that.

your right, he should override all methods which test type of product for stock management inventory ...., possible but good luke !

Cyril Gaspard (GEM)
on 3/31/15, 3:21 PM

prefer use a category or add a boolean field on product object.

Cyril Gaspard (GEM)
on 3/31/15, 3:23 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 3/30/15, 6:44 PM
Seen: 1696 times
Last updated: 3/31/15, 4:23 AM