Wednesday, March 29, 2023
2 changes · master
New functionality added to Odoo
Warehouse users can now confirm when a stock location is empty during picking validation or quickly create an inventory adjustment if it is not. This helps keep inventory more accurate throughout daily work, while a barcode listener fix reduces conflicts when multiple barcode screens are opened.
Original PR description
This PR primarily adds in ability to do a zero quantity count check which is the following: Whenever a location is theoretically empty, the user can now either confirm the location is actually empty…
This PR primarily adds in ability to do a zero quantity count check which is the following: Whenever a location is theoretically empty, the user can now either confirm the location is actually empty or adjust the inventory. This supports keeping a more consistent inventory during the day-to-day work by making small inventory adjustments from time to time instead of doing big inventory adjustments more episodically. This commit implements this feature for the backend (stock only app) by adding a setting in the inventory settings, and adding a Zero Quantity Count wizard that will called during the picking validation process. When the validated pickings empty a location(s), this wizard is raised and asks for a confirmation of the location(s) empty status, but also offer the possibility to make an inventory adjustment for those locations. This is why pickings have now a field `inventory_ids`, those inventory will be validated right after the picking is validated. Extra notes: - The `theoretrical_qty` and the `difference_qty` column of the inventory lines are hidden if the inventory adjustment is made from a Zero Quantity Count since they will be inaccurate in this case. - There are some limitations to this implementation such as the ability for a user to save => close (without validation) of a zqc triggered inventory adjustment (this can lead to inconsistent data). - If a move occurs after a zqc triggered inventory adjustment is created, but before it is validated, this may also lead to inconsistent data. - The same inventory adjustment isn't re-used if one save saved and closed in order to support barcode app functionality. - Batch pickings are already ideally set up for this to automatically work without any changes. Only tests added related to this module. ENT PR: odoo/enterprise#8932 TaskID: 1938108 This PR also adds in the secondary [FIX] barcodes: Prevent concurrency of barcode listener. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Warehouse users can now perform zero quantity counts directly within barcode picking and batch picking workflows, organized by location to reduce unnecessary movement. This helps confirm empty locations during operations, though the completed check may be lost if users refresh or later change quantities before validation.
Original PR description
This commit implements the Zero Quantity Count feature in
the barcode's picking and batch picking client actions.
Note that this feature is done by location rather than by picking/batch
picking to reduce the amount of moving a user has to do (i.e. do the zqc
check before they move to the next location). Because of the difficulty
implementing maintaining whether a zqc is complete before validating the
picking/batch, there are data inconsistencies (in addition to the
community-only ones) that can occur while using the zqc check such as:
- user does a zqc for a location then returns to the page before
validating and changes the qtys done.
- user leaves/refreshes the page and the zqc completed flag is wiped
COM PR: odoo/odoo#46637
TaskID: 1938108