Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] stock: False check company error on interco push
Usecase to reproduce: - Company A Stock -> Interco -> Push to Company B stock - Create a SO from company A with company B as customer - Create a pull from WH/A to interco - Create a push interco to WH/B - Confirm the SO Current behavior: Wrong company on stock.move from interco to WH/B due to rule with company A Expected behavior: Pushed to stock B It happens because the rule_id is not set during the copy of push_apply. So it just keep the same rule than the move triggering the push (WH/A -> interco). X-original-commit: dc58d79 Part-of: odoo#161717
- Loading branch information