OCA / stock-logistics-barcode

https://odoo-community.org/psc-teams/logistics-18
GNU Affero General Public License v3.0
158 stars 324 forks source link

[15.0] Scanning product on reception ignore putaway rules. #578

Open olivierb2 opened 7 months ago

olivierb2 commented 7 months ago

Module

stock_barcodes

Describe the bug

When a product has a putaways rules and the article is scanner thanks to this module, the article is show as stored into initial location instead of excepted child location.

To Reproduce

Affected versions: 15.0 (at least, not tested with other versions).

Steps to reproduce the behavior:

  1. Create a product (e.g. Test) as Storable Product, click on Putaway Rules and add one (e.g FR/Stock > FR/Stock/Etagère 1).
  2. Create a new reception thanks to the [+New] Button and scan your article.
  3. Click on [Open] button and validate the reception.
  4. The "To" location is not as excepted, if the same process is done manually without scanning, there is no problem.

Expected behavior We except to have the product going to the right location.

Additional context Installed on Debian Bullseye with Odoo Debian Repository.

github-actions[bot] commented 3 weeks ago

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.