Repository navigation
[ADD] purchase_stock_transit_receipt : receive purchases through a valued incoming transit location - #3240
Open
metaminux wants to merge 6 commits into
Open
[ADD] purchase_stock_transit_receipt : receive purchases through a valued incoming transit location#3240metaminux wants to merge 6 commits into
metaminux wants to merge 6 commits into
Conversation
metaminux
force-pushed
the
18.0-add-purchase_stock_transit_receipt
branch
from
October 27, 2026 01:47
e474946 to
a8e604e
Compare
Open
1 task
metaminux
force-pushed
the
18.0-add-purchase_stock_transit_receipt
branch
from
November 9, 2026 23:45
fd14466 to
b492622
Compare
…lued incoming transit location
…elect Transit Receipt type by default
… in purchase order line to transit receipt
…gh transit receipt
metaminux
force-pushed
the
18.0-add-purchase_stock_transit_receipt
branch
from
November 18, 2026 21:48
412e71c to
44323ac
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
New module
purchase_stock_transit_receipt: a purchase can be received in the buyer's stock as soon as the vendor ships the goods (imports by sea, intercompany shipments), so goods in transit are valued and inventoried while not yet available.post_init_hookfor existing warehouses).purchase.order.line.qty_receivedmoves only when goods leave the Incoming transit into the warehouse (returns decrease it). Kits (purchase_mrp) keep their own computation.purchase.order._requires_transit_receipt().Design precedent:
stock_route_transit(OCA/stock-logistics-transport, 8.0 to 10.0, not migrated), without its newreception_stepsvalues: the transit step sits before any existing reception setup. Code pattern for per-warehouse types and push rules:stock_warehouse_resupply_route_push(stock-logistics-warehouse 18.0).Used by OCA/multi-company#1084 (
purchase_sale_stock_inter_company_transit_receipt): the seller's delivery validates the buyer's Transit receipt.cc @sebastienbeau