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? 









-- 
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.

Reply via email to