Coder Social home page Coder Social logo

product-pack's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

product-pack's Issues

Consumable, Service or Stockable products ?

Hi,
I'm looking about these promising modules and one question arise:

What type should be the parent product (is_pack = true) ?

If service or consumable, stock_product_pack seems useless : the smart buttons don't appear).
If stockable, then inventory adjustments or "update quantity" button is present but useless and it's in the transferts it's never reserved so it ask for backorder creation.

Automatic backorder calculation

Is your feature request related to a problem?
When I create a delivery with a pack when it is a consumable it will never be correctly backordered.

For instance if I have two products

Product A is a "Storable Product"
Product B is a "Consumable" Product Pack
Product B has 5 of product A in its pack and we have 10 product A in stock.

We make a order for 3 product B (thus 15 product A) and confirm the order. Now we have a delivery ready, we validate that and allow it to create a backorder. This will create a backorder BUT the backorder will only contain 5 of product A.

I would as a user have assumed that 1 of product B would have been backordered as well since it's technically not in stock anymore.

I know that one can handle that manually by changing the "Done" quantity but it still feels like the system should handle that.
If so, please provide clear and concise description of what the problem is.

Of couse extending the problem would be if we had a larger pack with multiple different product and only one was needed to be backorderd. One might still only want to send the complete packs and thus only on packs worths of the other products should be reserved in stock picking.

Describe the solution you'd like
Preferably the system should be able to figure out the available number of Product B based on Product A. And extending that finding the lowest number of complete packs able to be picked and setting the reserved numbers correctly based on that.

Describe alternatives you've considered
Of couse this can be done manually but since backorders are quite automatic in Odoo already it can introduce errors.

Additional context
I've looked at it and I'm not sure where to really start. Having it as a "Consumable" is really the issue here but since having it as a "Storable Product" makes it pop up in inventory etc. it's really the correct option from what I can see.

Packs "Totalized in main product" and "Non Detailed" don't include product list price

Module

product_pack - sale_product_pack - website_sale_product_pack

Describe the bug

When you get the price of a pack "Totalized in main product" or "Non Detailed" the result is only the sum of the components and list price of the product pack is ignored. This isn't the behavior in other pack types making the modules more confusing to use or implement.

To Reproduce

Affected versions: 14.0, 15.0, 16.0

Steps to reproduce the behavior:

  1. Go to runboat or install the modules with demo data.
  2. Create a sale order and add the product "Pack CPU (Detailed - Totalized Components Price)"
  3. The price you will get is: $2,662.50
  4. When the expected price should be: $30.75 (list pack price) + $2,662.50 (sum of components) = $2,693.25

For example, if you add the exact same pack but with the setting "Detailed per component" the total price will be $2,693.25

Expected behavior

  1. Doesn't matter the type of the pack if the components and the list price is the same should get the same price.
  2. The "Totalized in main product" and "Non Detailed" should add the list price to the pack total price (even if you don't want it, it can be set in 0)

Screenshot of a sale quotation from runboat
pack_comparison

Poduct Pack no compatible with e-commerce

A not logged user, cannot buy purchaset in e-commerce if the product is a pack, the page shows an error
"403: Prohibido
No está autorizado a ver la página que está buscando."

Add product pack app

I would like your advice on this.

I want to make a 'product pack' app, but there are several approaches.

  • Either we can define a product_pack_base that allows to define menus, maybe access rights, ... and base other modules on top of this
  • Define product_pack module as 'application' and do stuff from above.
  • Define a new module that aggregates the needed ones to build the app.

Thanks for your feedback

[14.0] sale_product_pack : Duplicating order with pack lines, new lines of components are added

Module : sale_product_pack
Version : 14.0

When i duplicated my order with a product composed of other packs, some new lines with components are added

Steps to reproduce the behavior:

  1. Create your packs of products
    image
    image
    image

  2. Create a sale order with this pack product (pack 1)
    (Pack column is the field 'pack_parent_line_id')
    image

  3. Duplicate the order :
    image

Result :
image

Expected :
There should't be new lines added.

I first met the problem in my local odoo but then i tried in the runbot and it has the same behaviour.

Support for product variants?

I noticed that product packs can't have variants. I need product packs with variants, ideally allowing to add a "parent" product to a pack and inheriting all variants of the pack automatically. Before looking at extending product_pack, are there any plans or thoughts about adding variant support to it?

The price is doubled in cart with website_sale_product_pack

module: website_sale_product_pack
version: 13.0

Steps to reproduce

  • Create a product "is pack" with the type detailled and the label pack per component price "detailled per component"
  • The price of the pack is pass to 0
  • Put inside a storable product and a service product with each some price

Capture_2
Capture_3

Current behavior
When the product is added to cart we see each line of product in the pack in the cart but the price isn't correct. Each product have their correct price but the pack should be 0€ but he is the sum of each product. And the total price of the cart is the sum of each product in the pack + the price of the pack (normally 0) witch is the sum of each product. So the customer paid double.

Capture

But if the quotation is create directly in odoo without eCommerce the quotation is correct and the client paid the good price.

Expected behavior
In the cart, the price of each product of the pack is their price and the price of the pack is 0. So the total price is the sum of each product in the pack + the price of the pack witch is 0 and the customer paid the good price.

Need a module for pos

Module stock-product-pack

The name of the module that has a bug.

Describe the bug

Il we use a product of type PACK in a pos.order, the picking made by the pos order doesn't make stock moves for the product components.

To Reproduce

1.Create a product pack with 2 products
2.Sell this product in pos.order and validate
3.Test the stock of the 2 products, it has not decrease

Expected behavior
Same as for the sale.orders when the stock.picking are created

The FATHER product of the pack leaves it pending

When we sell a pack, all associated products are discounted from stock, but at the end of the delivery note, the FATHER product of the pack leaves it pending (along with other products that may be pending shipment).

These packs have to be marked as inventory, otherwise it does not show the stock of the packs.

Pack product not reserved when storable

Module

stock_product_pack

Describe the bug

When creating a delivery the pack line is not reserving its items. This seems to have been discussed in #11 but never fixed.

To Reproduce

14.0.1.0.1

Steps to reproduce the behavior:

  1. Create a product pack as "Storable Product".
  2. Add some products to the pack.
  3. Make sure that the "Pack Display Type" is "Detailed".
  4. Make sure that the "Pack Component Type" is "Ignored".
  5. Make sure that the "Don't create move" is not checked.
  6. Create a sale order with the pack and confirm it.
  7. Open the delivery.

Expected behavior
The pack line should have its items reserved.

Additional context

The prices on the sale quotation are incorrect when changing the price list with a different currency

Module

Sale product pack

Describe the bug

When changing the pricelist in EUR in the quotation, the prices on the order lines are not converted correctly.

To Reproduce

Affected versions: v15
Tested on OCA runbot on august, 9th 2023

Steps to reproduce the behavior:

  1. Create a pack, Product type = "Service", check "Is Pack?", Pack Display Type = "Detailed", Pack component price = "Totalized in main product", save. Add 2 products, save.
  2. Create a pricelist in EUR
  3. Create a quotation in USD. Add the pack in the products lines. Save. The PACK line (first line) is $ 897. Components are $ 0.
  4. Change the pricelist to the EUR pricelist. Click "Udpdate Prices". => First line is 0 €. First component is 490.55 €, Second is 96.15 €

Expected behavior
After changing pricelist and Updating prices, the products lines in the sale order should be :

PACK (first line) : 817,26 €
component #1 : 0 €
component #2 : 0 €

Thank you

Pack component price changes on price update

Module

sale_product_pack

Describe the bug

For a pack with " Pack component price = Ignored/Totalized", changing pricelist on a sale order changes the componets price.

To Reproduce

Affected versions:
14.0.1.0.0

Steps to reproduce the behavior:

  1. Go to Settings -> Sales -> Prices and activate "Pricelists".
  2. Go to Sales -> Products -> Pricelists and add a second pricelist.
  3. Create a pack with:
    • Pack Display Type = Detailed
    • Pack component price = Ignored
  4. Add a product to the pack.
  5. Add a price in each pricelist for the pack
  6. Create a sale order and add the pack.
  7. Save the sale order.
  8. Edit the sale order and change the pricelist.
  9. Click "Update Prices"

Expected behavior
The unit price of the sale order line "components" of the pack should stay at 0.

Additional context
Add any other context about the problem here. (e.g. OS, Python version, ...)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.