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

how to extend (create) order line wizard module in odoo 8 based on pack-composition of variable attribute

By
bunhin
on 7/31/16, 6:45 AM 262 views

Hi all,

I am looking for order lines configuration wizard module based on "variable attribute pack composition" that is used a lot in garment industry. For example a product template of t-shirt may have 2 attributes : color and size. Often the t-shirt is sold or purchased with packaging with certain composition whether the color or the size. Let's me explain in detail:

for example The color attribute have 3 attribute values such as  blu red and green

each color value has 6 size value  : XS S M L XL  XXL

The business nature usually sold or purchased with standard composition or unit pack,  where each unit pack have same in size but has all the colors with certain qty for each color for that unit pack, or in other way, it has same color for all sizes with certain qty of each size. I call this as unit-pack-composition.

as our case said the chosen way is  the size attribute as a variable attribute. so the pack composition is in a dozen that consist of

1 unit for size  XS,

2 units for size  S,

3 units for size  M,

3  unit for size  L,

2 unit for size  XL,

1 unit for size  XXL,

To help user productivity, we want user just select the product template and input the total order, and select the unit-pack-composition name (id), then the wizard will generate the order lines for all sizes and compute the qty of each line (size). User can edit the generated lines when needed as usual.

The nearest function that i found on the community resources is in this module:

sale_product_variant_order_multiple

purchase_product_variant_order_multiple

and the article to use and configure in

https://xpansa.com/sales/odoo-variable-attributes-management/

but the process to input the qty in the modules still manual.

could someone please share if you have the modules with above function already, or share how to extend the 2 modules above so it will have options in the qty input process (manually or select unit-pack-composition), and create the unit-pack-composition.

Thanks,

Bun

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

1 follower(s)

Stats

Asked: 7/31/16, 6:45 AM
Seen: 262 times
Last updated: 7/31/16, 10:07 AM