One products with multiple variants

104 views
Skip to first unread message

Markus Bala

unread,
Feb 3, 2016, 3:34:33 AM2/3/16
to tryton
Hi,

I am doing a project. 
I am confuse in the Product UOM.

Below are 1 material for case studies, hoping can get some advice from you:

T-Shirt (Nike) has 3 types of packaging and 2 colors and identify by barcode number.
Color Green:
Type 1: Packaging in pallets, with 1 pallet = 100 unit, barcode number = 12345
Type 2: Packaging in box, with 1 box = 10 unit, barcode number = 34567
Type 3: Packaging in piece, with 1 piece = 1 unit, barcode number = 56789

Color Blue:
Type 1: Packaging in pallets, with 1 pallet = 100 unit, barcode number = 111222
Type 2: Packaging in box, with 1 box = 10 unit, barcode number = 333444
Type 3: Packaging in piece, with 1 piece = 1 unit, barcode number = 56789


--> Tryton Design <--
product.template 1 - * Product.product (variants)

In the case above, I created a product template T-Shirt(Nike) and Two variants to differentiate Green and Blue.
However, how am I going to create for the 3 packaging with different barcode?

Then I try to create a new module called Packaging

--> Packaging Module Design <--

Model: product.packaging.packaing
Fields:
product = many2one(product.product)
pack_uom = many2one(product.uom)
barcode = char


The purpose of this module is using the barcode number to get the product uom and variant.

-->Setback<--
Implement like that, I will need to change a lot of modules such as sale, purchase, shipment,etc.
Such as, during choose the product using either product.product's code or barcode, the uom and quantity will change accordingly.

In that case, it will hard for upgrade in the future.

Maybe any suggestion can help me to simplify modification? 









Jesús Martín Jiménez

unread,
Feb 3, 2016, 3:49:08 AM2/3/16
to try...@googlegroups.com
Hi,

I'm thinking in production module. Maybe you can use a pallet as a product built with 10 boxes, and a box product built with 10 pieces. This way, you don't have to develop anything.

My 2¢
 









--
You received this message because you are subscribed to the Google Groups "tryton" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/310db0aa-c895-4883-82a4-479e867bba2f%40googlegroups.com.



--

Jesús Martín

Zikzakmedia SL
C/ de Sant Jaume, 9, baixos, 2ª
08720 Vilafranca del Penedès
☏ 93 890 21 08

Cédric Krier

unread,
Feb 3, 2016, 4:15:03 AM2/3/16
to tryton
> *barcode*, the uom and quantity will change accordingly.
>
> In that case, it will hard for upgrade in the future.
>
> Maybe any suggestion can help me to simplify modification?

The packaging problem is much more than just a matter of unit of
product. If you do like that using one product, it means to Tryton that
those items are exactly the same for you no matter what "packaging" it
is. And so Tryton is going to make you pick in the UoM of its choice.
But if for you the packaging makes them not exactly the same, then you
have to create different products (with the uom of your choice) and you
will have to run production to change one product into another (like
opening a box).

So both solutions have their advantages and drawbacks, it is a matter of
how you manage your warehouse.

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Markus Bala

unread,
Feb 3, 2016, 7:06:19 AM2/3/16
to try...@googlegroups.com

At first, in accounting they want to make it as one product. 
However, in the warehouse. It become complicated to do that during operations.

In the end, I choose to make different products. However, it still in discussion.

Thank you for all the feedback

 
>
>
> --
> Cédric Krier - B2CK SPRL
> Email/Jabber: cedric...@b2ck.com
> Tel: +32 472 54 46 59
> Website: http://www.b2ck.com/
>

> --
> You received this message because you are subscribed to the Google Groups "tryton" group.

> To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20160203091447.GI20880%40tetsuo.

Cédric Krier

unread,
Feb 3, 2016, 7:30:04 AM2/3/16
to try...@googlegroups.com
On 2016-02-03 18:53, Markus Bala wrote:
> > The packaging problem is much more than just a matter of unit of
> > product. If you do like that using one product, it means to Tryton that
> > those items are exactly the same for you no matter what "packaging" it
> > is. And so Tryton is going to make you pick in the UoM of its choice.
> > But if for you the packaging makes them not exactly the same, then you
> > have to create different products (with the uom of your choice) and you
> > will have to run production to change one product into another (like
> > opening a box).
> >
> > So both solutions have their advantages and drawbacks, it is a matter of
> > how you manage your warehouse.
>
> At first, in accounting they want to make it as one product.

The product never reach the accounting.
And if you want to ensure they share the same accounting properties, you
just have to use the same product category.

> However, in the warehouse. It become complicated to do that during
> operations.
>
> In the end, I choose to make different products. However, it still in
> discussion.

I also think it is the warehouse management that should be the primary
target.
Reply all
Reply to author
Forward
0 new messages