Closed santostelmo closed 4 months ago
LG. You also need to adapt SO line
_prepare_procurement_values
to set company of the warehouse and not of the SO
Done. Indeed we need to create procurements in the warehouse company and not sale order company.
Please rename the module sale_stock_warehouse_multicompany
in the PR title
This PR has the approved
label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖
/ocabot merge nobump
hiii @pedrobaeza can you merge this PR please ?
/ocabot merge nobump
This PR looks fantastic, let's merge it! Prepared branch 16.0-ocabot-merge-pr-577-by-dreispt-bump-nobump, awaiting test results.
Congratulations, your PR was merged at 249949a5b94d635d6feda69d346ada0b9724b202. Thanks a lot for contributing to OCA. ❤️
Allow multiple companies to sell the stock of a shared warehouse.
The sales order will belong to the company making the sale. As such, the taxes and related invoices will also belong to that selling company. The generated stock moves will belong to the company owning the stock and defined on the warehouse.
This approach also allows to use any route (like cross-docking or drop-shipment) on the sales order line.
PR superseded https://github.com/OCA/multi-company/pull/573