Expand description
Application services
Generated by metaphor-schema. Do not edit manually.
Each entity service is a type alias over GenericCrudService.
Re-exports§
pub use picking_batch_service::PickingBatchService;pub use delivery_note_service::DeliveryNoteService;pub use delivery_note_item_service::DeliveryNoteItemService;pub use inventory_company_setting_service::InventoryCompanySettingService;pub use landed_cost_service::LandedCostService;pub use landed_cost_line_service::LandedCostLineService;pub use landed_cost_adjustment_line_service::LandedCostAdjustmentLineService;pub use location_service::LocationService;pub use stock_move_service::StockMoveService;pub use stock_move_line_service::StockMoveLineService;pub use operation_type_service::OperationTypeService;pub use transfer_service::TransferService;pub use route_service::RouteService;pub use route_rule_service::RouteRuleService;pub use reordering_rule_service::ReorderingRuleService;pub use purchase_receipt_service::PurchaseReceiptService;pub use purchase_receipt_item_service::PurchaseReceiptItemService;pub use quant_service::QuantService;pub use scrap_service::ScrapService;pub use scrap_reason_tag_service::ScrapReasonTagService;pub use stock_entry_service::StockEntryService;pub use stock_entry_item_service::StockEntryItemService;pub use stock_ledger_entry_service::StockLedgerEntryService;pub use bin_service::BinService;pub use stock_reconciliation_service::StockReconciliationService;pub use stock_reconciliation_item_service::StockReconciliationItemService;pub use package_type_service::PackageTypeService;pub use storage_category_service::StorageCategoryService;pub use storage_category_capacity_service::StorageCategoryCapacityService;pub use putaway_rule_service::PutawayRuleService;pub use lot_service::LotService;pub use package_service::PackageService;pub use warehouse_service::WarehouseService;pub use stock_item_service::StockItemService;pub use picking_batch_service::PickingBatchRowRules;pub use delivery_note_service::DeliveryNoteRowRules;pub use delivery_note_item_service::DeliveryNoteItemRowRules;pub use landed_cost_service::LandedCostRowRules;pub use landed_cost_line_service::LandedCostLineRowRules;pub use landed_cost_adjustment_line_service::LandedCostAdjustmentLineRowRules;pub use location_service::LocationRowRules;pub use stock_move_service::StockMoveRowRules;pub use stock_move_line_service::StockMoveLineRowRules;pub use operation_type_service::OperationTypeRowRules;pub use transfer_service::TransferRowRules;pub use route_service::RouteRowRules;pub use route_rule_service::RouteRuleRowRules;pub use reordering_rule_service::ReorderingRuleRowRules;pub use purchase_receipt_service::PurchaseReceiptRowRules;pub use purchase_receipt_item_service::PurchaseReceiptItemRowRules;pub use quant_service::QuantRowRules;pub use scrap_service::ScrapRowRules;pub use scrap_reason_tag_service::ScrapReasonTagRowRules;pub use stock_entry_service::StockEntryRowRules;pub use stock_entry_item_service::StockEntryItemRowRules;pub use stock_ledger_entry_service::StockLedgerEntryRowRules;pub use bin_service::BinRowRules;pub use stock_reconciliation_service::StockReconciliationRowRules;pub use stock_reconciliation_item_service::StockReconciliationItemRowRules;pub use package_type_service::PackageTypeRowRules;pub use storage_category_service::StorageCategoryRowRules;pub use storage_category_capacity_service::StorageCategoryCapacityRowRules;pub use putaway_rule_service::PutawayRuleRowRules;pub use lot_service::LotRowRules;pub use package_service::PackageRowRules;pub use warehouse_service::WarehouseRowRules;pub use stock_item_service::StockItemRowRules;pub use inventory_reservation::HoldAckLine;pub use inventory_reservation::HoldLine;pub use inventory_reservation::ReservationError;pub use inventory_reservation::ReservationService;pub use inventory_events::InventoryEvent;pub use inventory_events::InventoryEventSink;pub use inventory_events::OrderpointTriggered;pub use inventory_events::StockDelivered;pub use inventory_events::StockMoved;pub use inventory_events::StockReceived;pub use inventory_events::StockReconciled;pub use inventory_write_service::DeliveryLine;pub use inventory_write_service::InventoryError;pub use inventory_write_service::InventoryWriteService;pub use inventory_write_service::NewDelivery;pub use inventory_write_service::NewReceipt;pub use inventory_write_service::NewReconciliation;pub use inventory_write_service::NewStockItem;pub use inventory_write_service::NewTransfer;pub use inventory_write_service::NewWarehouse;pub use inventory_write_service::ReceiptLine;pub use inventory_write_service::ReconLine;pub use inventory_write_service::SubmitOutcome;pub use inventory_read::AvailabilityView;pub use inventory_read::InventoryReadService;pub use inventory_read::QuantAvailability;pub use inventory_read::StockBalance;pub use availability_scope::AvailabilityScopeError;pub use availability_scope::AvailabilityScopePort;pub use availability_scope::AvailabilityScopeRead;pub use availability_scope::CheckoutDemand;pub use availability_scope::CheckoutFreeQty;pub use availability_scope::RefusingAvailabilityScopePort;pub use availability_scope::ScopedAvailability;pub use availability_scope::SoldOutVerdict;pub use inventory_intake::DeliveryIntake;pub use inventory_intake::DeliveryRequestLine;pub use inventory_intake::DeliveryRequested;pub use inventory_intake::ReceiptExpected;pub use inventory_intake::ReceiptRequestLine;pub use procurement_service::AssignSweepReport;pub use procurement_service::MovePipeline;pub use procurement_service::MovePipelineError;pub use procurement_service::NewOrderpoint;pub use procurement_service::NewRoute;pub use procurement_service::NewRouteRule;pub use procurement_service::ProcurementError;pub use procurement_service::ProcurementRequest;pub use procurement_service::ProcurementService;pub use procurement_service::ReorderOutcome;pub use inventory_move_engine::BackorderPolicy;pub use inventory_move_engine::MoveAssignOutcome;pub use inventory_move_engine::MoveDoneOutcome;pub use inventory_move_engine::MoveGlDirective;pub use inventory_move_engine::NewStockMove;
Modules§
- availability_
scope - The two-scope availability read (hand-authored, user-owned; see
metaphor.codegen.yaml). - bin_
service - Application service for Bin entities
- delivery_
note_ item_ service - Application service for DeliveryNoteItem entities
- delivery_
note_ service - Application service for DeliveryNote entities
- error
- Service error types
- inventory_
batch - The picking-batch surface (hand-authored, user-owned) — the stock.picking.batch satellite (spec misc-features.md SB).
- inventory_
cancellation - The cancellation/reversal path (hand-authored, user-owned) — council 2026-07-29, finding #3.
- inventory_
company_ setting_ service - Application service for InventoryCompanySetting entities
- inventory_
delivery - The Delivery Note path: draft → submit → repost (hand-authored, user-owned).
- inventory_
events - Inventory domain events — the public extension surface (hand-authored, user-owned).
- inventory_
gl - Outbound GL-posting port (hand-authored, user-owned) — re-export of the shared contract.
- inventory_
intake - Inbound intake (hand-authored, user-owned) — the
DeliveryRequestedport the selling↔inventory delivery seam triggers on (docs/erp/modules/backbone-inventory.md§3, extension-guide). - inventory_
masters - Warehouse + stock-item masters (hand-authored, user-owned).
- inventory_
move_ engine - The converged stock-move engine (hand-authored, user-owned):
_action_confirm/_action_assign/_action_done/_action_cancelover quant-grain reservation. - inventory_
posture - The tenant’s valuation posting posture (hand-authored, user-owned).
- inventory_
read - Inventory read-models (hand-authored, user-owned) — the availability/stock-balance surface the
brief names as consumed by selling + buying (
docs/erp/modules/backbone-inventory.md:11,51-52). - inventory_
receipt - The Purchase Receipt path: draft → submit → repost (hand-authored, user-owned).
- inventory_
reconciliation - The ONE adjustment door + the StockReconciliation voucher over it (hand-authored, user-owned).
- inventory_
reservation - The store-level reservation surface (hand-written; user-owned) — the checkout-intent ledger the register row asked for: intent + release verbs on the stock authority, checkout consumes them.
- inventory_
scrap - The scrap door (hand-authored, user-owned) — the stock.scrap satellite (spec stock-business-logic.md §8).
- inventory_
transfer - The transfer/picking surface (hand-authored, user-owned).
- inventory_
write_ service - Validated write path + valuation engine for inventory (hand-authored, user-owned).
- landed_
cost_ adjustment_ line_ service - Application service for LandedCostAdjustmentLine entities
- landed_
cost_ line_ service - Application service for LandedCostLine entities
- landed_
cost_ service - Application service for LandedCost entities
- landed_
cost_ service_ custom - Landed-cost documents (hand-authored, user-owned): draft → validate → done, cancel from draft only (hand_set state machine, ADR-0016 document vocabulary).
- location_
service - Application service for Location entities
- lot_
service - Application service for Lot entities
- operation_
type_ service - Application service for OperationType entities
- package_
service - Application service for Package entities
- package_
type_ service - Application service for PackageType entities
- picking_
batch_ service - Application service for PickingBatch entities
- procurement_
service - Procurement service (hand-authored, user-owned):
stock.route/stock.rule/stock.warehouse.orderpoint— the pull/push procurement configuration and the reorder rung the daily scheduler drives (spec: docs/odoo/inventory/stock/stock-business-logic.md §6 routes/rules, §7 orderpoints + scheduler, §11 R6/R11, §12 T11). - purchase_
receipt_ item_ service - Application service for PurchaseReceiptItem entities
- purchase_
receipt_ service - Application service for PurchaseReceipt entities
- putaway_
rule_ service - Application service for PutawayRule entities
- quant_
service - Application service for Quant entities
- reordering_
rule_ service - Application service for ReorderingRule entities
- route_
rule_ service - Application service for RouteRule entities
- route_
service - Application service for Route entities
- scrap_
reason_ tag_ service - Application service for ScrapReasonTag entities
- scrap_
service - Application service for Scrap entities
- stock_
entry_ item_ service - Application service for StockEntryItem entities
- stock_
entry_ service - Application service for StockEntry entities
- stock_
item_ service - Application service for StockItem entities
- stock_
ledger_ entry_ service - Application service for StockLedgerEntry entities
- stock_
move_ line_ service - Application service for StockMoveLine entities
- stock_
move_ service - Application service for StockMove entities
- stock_
reconciliation_ item_ service - Application service for StockReconciliationItem entities
- stock_
reconciliation_ service - Application service for StockReconciliation entities
- storage_
category_ capacity_ service - Application service for StorageCategoryCapacity entities
- storage_
category_ service - Application service for StorageCategory entities
- transfer_
service - Application service for Transfer entities
- warehouse_
service - Application service for Warehouse entities
Structs§
- Accounting
Post Envelope - The serialized GL-post envelope a producer emits.
source_typediscriminates the producer (“payment”, “gateway_fee”, “sales”, …);source_idis the producer document id accounting dedups on. - GlPost
Ack - Accounting’s ack: the resulting post + journal, and whether the idempotency key short-circuited.
- GlPost
Line - One debit/credit line of a GL post.
- GlPost
Rejected - Why accounting rejected a post (e.g. a closed period). The producer leaves the document retryable.
Enums§
- Service
Error - Standard service-layer error type.
Traits§
- GlPost
Sink - The GL-posting seam. A composing service implements this over accounting’s
PostingService; tests record. Producers never depend on backbone-accounting — they reach it only through this port.
Functions§
- build_
bin_ service - A
BinServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
delivery_ note_ item_ service - A
DeliveryNoteItemServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
delivery_ note_ service - A
DeliveryNoteServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
inventory_ company_ setting_ service - A
InventoryCompanySettingServiceoverrepository: the way to build it, so its writes are served only with the rules the schema declares. - build_
landed_ cost_ adjustment_ line_ service - A
LandedCostAdjustmentLineServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
landed_ cost_ line_ service - A
LandedCostLineServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
landed_ cost_ service - A
LandedCostServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
location_ service - A
LocationServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
lot_ service - A
LotServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
operation_ type_ service - A
OperationTypeServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
package_ service - A
PackageServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
package_ type_ service - A
PackageTypeServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
picking_ batch_ service - A
PickingBatchServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
purchase_ receipt_ item_ service - A
PurchaseReceiptItemServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
purchase_ receipt_ service - A
PurchaseReceiptServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
putaway_ rule_ service - A
PutawayRuleServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
quant_ service - A
QuantServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
reordering_ rule_ service - A
ReorderingRuleServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
route_ rule_ service - A
RouteRuleServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
route_ service - A
RouteServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
scrap_ reason_ tag_ service - A
ScrapReasonTagServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
scrap_ service - A
ScrapServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
stock_ entry_ item_ service - A
StockEntryItemServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
stock_ entry_ service - A
StockEntryServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
stock_ item_ service - A
StockItemServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
stock_ ledger_ entry_ service - A
StockLedgerEntryServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
stock_ move_ line_ service - A
StockMoveLineServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
stock_ move_ service - A
StockMoveServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
stock_ reconciliation_ item_ service - A
StockReconciliationItemServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
stock_ reconciliation_ service - A
StockReconciliationServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
storage_ category_ capacity_ service - A
StorageCategoryCapacityServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
storage_ category_ service - A
StorageCategoryServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
transfer_ service - A
TransferServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares. - build_
warehouse_ service - A
WarehouseServiceoverrepositorywith its write guard attached: the way to build it, so its writes are served only with the rules the schema declares.