Contributors mailing list archives

contributors@odoo-community.org

Re: Packaging material as a product

by
LasLabs, Dave Lasley
- 25/10/2016 23:56:05
Hi Peter,

Sounds like you went with a solid plan.

One note - the product.ul model was deprecated in v9 with no replacement.

On Oct 25, 2016, at 7:53 AM, Peter Hahn <peter.hahn@initos.com> wrote:

Hi Dave,

thanks for the Reply.

I decided to go a slightly different approach.
I added a relation from 'product.ul' to 'product.product' to link the
abstract kind of packaging material 'product.ul' provides to a real
product.
This way I can establish a link between stock.quants and the material
really used for packaging.

I think stock_picking_package_info is not the best way to do it, because
as I understand the idea of stock_picking_package_info it is more an
abstraction of the packing pattern used than of the package material to use.

Best, Peter

Am 14.10.2016 um 16:53 schrieb Dave Lasley:
> Hi Peter,
> 
> 
> I don’t know of anything that does this quite yet - it is something we are 
> planning on our end as well.
> 
> We were planning on making it an extension to `stock_picking_package_info`, 
> which is currently in PR 
> . While not 
> technically required, it adds some fields to product.packaging that simplifies 
> things a bit.
> 
> Our plan was to utilize product packaging & include product_ids of the 
> consumables used for the package (box, packing peanuts, etc).
> 
> Oversimplified, but definitely not something that exists at this point from what 
> I understand.
> 
> Thank you,
> Dave Lasley - LasLabs
> /Founder / CEO/
> /dave@laslabs.com/ <mailto:dave@laslabs.com>
> /+1 (702) 508-8894 /
> /+1 (888) 678-6313;5 /
> 
>  id="8E0BD1F6-59F8-4EA7-932F-2A02CCB870B0" apple-width="yes" apple-height="yes" 
> src="cid:B6781F39-FEE7-4B4E-91AD-FDB83E4A18E3@dlasley.net" class=""> 
> 
> 
>> On Oct 14, 2016, at 7:23 AM, Peter Hahn <peter.hahn@initos.com 
>> <mailto:peter.hahn@initos.com>> wrote:
>>
>> Hi,
>>
>> I was wondering if there already exists something for modelling
>> packaging material as a product itself.
>>
>> What I'm thinking of is creating the necessary packaging material as a
>> product itself.
>>
>> This way packaging material can have a price and a stock etc.
>> Also complex packaging can be modelled as MRP (e.g. a cardbord box that
>> contains several inlet parts made from styrofoam)
>>
>> Of course I could already do this using products of type 'consumable'
>> but I don't want this stuff to apear on normal product listings so I
>> would like to mark it somehow as packaging material.
>>
>> Simplest way would be to mark with Bool flag or create extend the
>> product_template.type field.
>>
>> Does anybody know of something like this existing already?
>> I had a look into OCA/product-attribute and several OCA/stock* repos.
>> I also used Odoo-CodeSearch.
>>
>> What do you think about the idea? Any opinions? Anyone interested?
>>
>> Thanks. Regards,
>>
>> Peter
>>
>> -- 
>> Dipl. Ing. Peter Hahn
>> Softwareentwickler
>>
>> initOS GmbH
>> An der Eisenbahn 1
>> 21224 Rosengarten
>>
>> Phone:   +49 4105 56156-15
>> Fax:     +49 4105 56156-10
>>
>> Email:peter.hahn@initos.com <mailto:peter.hahn@initos.com>
>> Web:http://www.initos.com
>>
>> Geschäftsführung:
>> Dipl. Wirt.-Inf. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke
>>
>> Sitz der Gesellschaft: Rosengarten – Klecken
>> Amtsgericht: Tostedt, HRB 205226
>> Steuer-Nr.: 15/205/21518
>> USt-IdNr.: DE815580155
>>
>> _______________________________________________
>> Mailing-List: http://odoo-community.org/groups/contributors-15
>> Post to: mailto:contributors@odoo-community.org
>> Unsubscribe: http://odoo-community.org/groups?unsubscribe
>>
> 
> _______________________________________________
> Mailing-List: http://odoo-community.org/groups/contributors-15
> Post to: mailto:contributors@odoo-community.org
> Unsubscribe: http://odoo-community.org/groups?unsubscribe
> 

-- 
Dipl. Ing. Peter Hahn
Softwareentwickler

initOS GmbH
An der Eisenbahn 1
21224 Rosengarten

Phone:   +49 4105 56156-15
Fax:     +49 4105 56156-10

Email:   peter.hahn@initos.com
Web:     http://www.initos.com

Geschäftsführung:
Dipl. Wirt.-Inf. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke

Sitz der Gesellschaft: Rosengarten – Klecken
Amtsgericht: Tostedt, HRB 205226
Steuer-Nr.: 15/205/21518
USt-IdNr.: DE815580155