Skip to content

In stock_inventory difficulties due to stock.quant #2287

@quentinDupont

Description

@quentinDupont

Hello everyone,

I discover with joy that stock_inventory was developed for OCA while it was removed from Odoo code.
But I encounter some difficulties with the way it's implemented and it will be great for me to have some explanations :)

After testing the module, I think my issue is that stock_inventory is linked to stock.quant.

If i understand well stock.quant, it can't have duplicates, it's the real time product stock and we change it with stock_move.
I encounter weird behaviours :

  • if a launch a inventory with "Manual selection" > add a line with a product > it is automatically set to 0 and change stock.quant (with the notification "You tried to create a record that already exists. The existing record was modified instead."
  • if I set the Counted quantity with 20, bam, it set to 20 and change stock.quant
  • Each time, the stock.quant is not "saved" in this inventory → I understand that you have to select the product before "Begin adjustements"

The more unexpected user behaviour is that if we launch two parallels Inventory and change a Counted quantity → it changes other inventory line.

How do you handle this process : having two / three / four people counting products for inventory in differents locations and you need to sum the differents quantities ?
In v12, we develop stock_inventory_merge but it was possible because inventory was based on inventory_lines and not quants

Thanks in advance for your help !

Metadata

Metadata

Assignees

No one assigned

    Labels

    stalePR/Issue without recent activity, it'll be soon closed automatically.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions