Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rev[0] aimed to fix an intercompany reservation issue by allowing the intercompany moves to be seen, however the new domain was too soft and also allows the visibility of any moves going to a location without company, for example now outgoing moves to customer from all companies are visible. We strengthen the domain to only allow intercompany moves, ie we add the transit constraint in the domain. We also fix the same issue for the move line model (see [1]) Now that this one is fixed, the next move is automatically reserved during _action_done. This didn't work either, so we carefully sudo and force_company on the destination move. [0] 3c4bb08 [1] f9461c7 task-2157248 closes odoo#41930 Signed-off-by: Simon Lejeune (sle) <[email protected]>
- Loading branch information