Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0] stock_barcodes: enable filter on products for inventory #664

Open
wants to merge 1 commit into
base: 14.0
Choose a base branch
from

Conversation

alexis-via
Copy link
Contributor

Before this PR:

When working on an inventory filtered on products, there is no error message when a users scans a product which is not part of the product filter and a new inventory line is created (in the backoffice, it is not possible to create a new inventory line for a product which is not part of the product filter due to a domain, cf https://github.com/odoo/odoo/blob/14.0/addons/stock/models/stock_inventory.py#L342)

With this PR:
When you scan a product which is not part of the product filter of the inventory, you get an error sound and this message:

error_bad_product

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant