Daily updates from Odoo
Navigate
Branch
Saturday, December 21, 2019
2 changes
Documentation and clarification updates
This pull request records that Geninit has signed Odoo's corporate Contributor License Agreement. This is a legal and administrative update that helps ensure future contributions from this company can be accepted under Odoo's contribution rules.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Miscellaneous changes
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 fixe
Original PR description
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] 3c4bb080c3ab71b63cf90a6b49ffebb3ea1e5545 [1] f9461c7096a65565a05136a4c6c42ddfa6881926 task-2157248 Forward-Port-Of: odoo/odoo#42261 Forward-Port-Of: odoo/odoo#41930