PMS - Purchase

pms_purchase
REPOSITORY
REPOSITORYOCA/pms
GIT
GIThttps://github.com/OCA/pms.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/pms/tree/19.0/pms_purchase
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYpurchase
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Gray Matter Logic
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Gray Matter Logic
COMMITTERS
COMMITTERSMaxime Chambreuil, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/pms
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/pms:
    - pms_account
    - pms_base
    - pms_stock
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_geolocalize
    - purchase_stock
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module integrates purchase orders with the Property Management System.

It includes:

- **Property field on purchase order lines**: assign each purchase order line to a
  specific property for cost allocation.
- **Putaway rules for properties**: configure stock putaway strategies per property location.
- **Filtered purchase reports**: track purchasing activity and costs by property.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
pms_property_form_inherit_po_lines_view pms.property.form.inherit.po.lines.view pms.property xpath Inherits pms_base.view_pms_property_form
purchase_order_form_view_inherit purchase.order.form.view.inherit purchase.order xpath Inherits purchase.purchase_order_form
view_putaway_list_inherit_pms_purchase stock.putaway.rule.list stock.putaway.rule field Inherits stock.stock_putaway_list
Models touched (4)

New fields (2)
  • po_line_count Integer
    compute='_compute_po_line_count' copy=False readonly=True string='PO Line(s)'
  • po_line_ids One2many → purchase.order.line
    string='Purchases' args: 'purchase.order.line', 'pms_property_id'
Public methods (1)
  • action_open_po_line(self)

New fields (1)
  • pms_property_id Many2one → pms.property
    string='Property' args: 'pms.property'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • location_out_id Many2one → stock.location
    check_company=True domain="[('id', 'child_of', location_in_id), ('id', '!=', location_in_id), '|', ('company_id', '=', False), ('company_id', '=', company_id)]" ondelete='cascade' required=False args: 'stock.location', 'Store to'
  • move_to_property Boolean
    help='When enabled, incoming stock is routed to the property location linked on the purchase order line.' string='Move to Property Location'
Public methods (0)

No public methods.