You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hum, good catch.
Maybe the best is to remove the dependency and simply raise an error when we found several products ?
Then it's your responsibility to found the right solution to reduce the human error by dding the right constraint. @florian-dacosta what do you think ?
I am ok to remove the dependency and raise if multiple products are found (there already is a raise if no product is found).
I guess we can have this product_code_unique listed in the README as recommended, for none multi company cases.
What is the problem
sale_import_base
depends on product_code_unique.This is rude because if you have a multi-company instance with not shared products, it doesn't work.
How to by pass the issue
Switch to a constrains with unique default_code by company_id
cc @clementmbr @sebastienbeau @florian-dacosta @kevinkhao
The text was updated successfully, but these errors were encountered: