OdooWiki OCA HUB

Agreement - Stock

agreement_stock folder_open OCA/contract open_in_new
Contract License: AGPL-3

Odoo Agreement App does not provide an easy way to access stock transfers related to an agreement. Some organizations needs to have a quick access to stock transfers to track the performance of an agreement.

This module allows you to link a transfer to an agreement and adds a smart button on the agreement to look at the list of related transfers.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Link stock transfers, moves and lots/serials to an agreement, and see counters and lists of the related stock documents directly from the agreement form.

This module connects your stock operations to agreements so you can track what was actually shipped or received for each contract.

On the agreement form you get three new smart buttons showing counts: Pickings, Moves and Lots/Serials. Clicking a button opens the list of the related stock documents, filtered to that agreement. The lists are read-only from there (no creating or editing).

On stock documents you can now choose an Agreement: - On a transfer (stock.picking) an Agreement field appears next to the source document; the list of selectable agreements is limited to those belonging to the same partner as the transfer. - On a stock move (stock.move) the Agreement is shown and is automatically taken from the transfer, so it stays in sync. - On a lot/serial number (stock.production.lot) you can set both an Agreement and a Service Profile; the service profiles offered are limited to the chosen agreement.

In the lot/serial search view you can group results by Service Profile, which helps you see which contract or service line a batch belongs to.

The module touches the agreement, stock transfer, stock move and lot/serial models, and adds the related counters and fields to their existing screens.

Models and fields (4)
  • agreement · extends an existing modellot_count (# Lots/Serials), move_count (# Moves), picking_count (# Pickings)
  • stock.move · extends an existing modelagreement_id (Agreement)
  • stock.picking · extends an existing modelagreement_id
  • stock.production.lot · extends an existing modelagreement_id, serviceprofile_id

Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 14.0

To use this module, you need to:

  • Go to Inventory > Transfers
  • Select or create a transfer and set the agreement
  • Select or create a lot/serial number and set the agreement
  • Go to Agreement > Agreements
  • Open the previous agreement
  • Click on the smart button "Transfers" to see the list of related transfers
  • Click on the smart button "Stock Moves" to see the list of related stock moves
  • Click on the smart button "Lot/SN #" to see the list of related lot/serial numbers

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.