We have defined a specific view “Quarantine Location” outside our warehouse (to avoid stock quantities for items in this location). When we have a problem with a lot we move his location under the quarantine view.
We have an android app to manage stocks and doing internal moves quickly with barcode scanning.
User met a problem to move a lot to the location in quarantine because of intrastat module. Indeed, quarantine view has no address (because outside of warehouse) and then instrastat raise a warning there is no country for the move.
How to bypass this warning (https://foss.heptapod.net/tryton/tryton/-/blob/branch/default/modules/account_stock_eu/stock.py#L241) in our application to do the move?
When doing such thing, exception is caught, but the move is not done:
try: Move.do(moves) except CountryNotFound as w: pass
How to continue the process in the “do” method after the exception is raised?
How do you deal with a quarantine location ?