Purchase Receipt Expectation - Manual

purchase_receipt_expectation_manual
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/15.0/purchase_receipt_expectation_manual
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp SA
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp SA
COMMITTERS
COMMITTERSIvàn Todorovich, Weblate, OCA-git-bot, SilvioC2C, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:40
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/purchase-workflow:
    - purchase_receipt_expectation
odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
purchase_order_form_inherit purchase.order.form.inherit purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_manual_receipt_wizard purchase.order.manual.receipt.wizard purchase.order.manual.receipt.wizard form New
purchase_order_view_form_inherit purchase.order.view.form.inherit purchase.order button Inherits purchase_stock.purchase_order_view_form_inherit
Models touched (5)

New fields (1)
  • receipt_expectation Selection
    ondelete={'manual': 'set default'} selection_add=[('manual', 'Manual')]
Public methods (1)
  • button_open_manual_receipt_wizard(self)

New fields (6)
  • feasible_for_manual_receipt Boolean
    compute='_compute_feasible_for_manual_receipt' store=True
  • manually_generated_move_ids One2many → stock.move
    domain=[('manually_generated', '=', True)] args: 'stock.move', 'purchase_line_id'
  • manually_receivable_qty Float
    compute='_compute_manually_receivable_qty' digits='Product Unit of Measure' help='Qty that has yet to be received for current line (in product PO UoM)' store=True
  • manually_receivable_qty_uom Float
    compute='_compute_manually_receivable_qty' digits='Product Unit of Measure' help='Qty that has yet to be received for current line (in line UoM)' store=True
  • manually_received_qty Float
    compute='_compute_manually_received_qty' digits='Product Unit of Measure' help='Qty that has been received for current line (in product PO UoM)' store=True
  • manually_received_qty_uom Float
    compute='_compute_manually_received_qty' digits='Product Unit of Measure' help='Qty that has been received for current line (in product PO UoM)' store=True
Public methods (0)

No public methods.

New fields (6)
  • auto_confirm_picking Boolean
    default=True help='Automatically confirms the picking after creation.'
  • checks_result Selection
    default='success' args: [('success', 'Success'), ('failure', 'Failure')]
  • checks_result_msg Text
    help='Stores error messages result from executed checks'
  • line_ids One2many → purchase.order.manual.receipt.wizard.line
    args: 'purchase.order.manual.receipt.wizard.line', 'wizard_id'
  • purchase_order_id Many2one → purchase.order
    required=True args: 'purchase.order'
  • scheduled_date Datetime
    default=fields.Datetime.now required=True
Public methods (4)
  • button_check(self)
    Runs checks on the wizard data, then opens the wizard again
  • button_confirm(self)
    Confirms wizard data and creates new picking
  • open_form_view(self)
  • open_picking_form_view(self, picking)

New fields (9)
  • currency_id Many2one → res.currency
    readonly=True related='purchase_line_id.currency_id' args: 'res.currency'
  • product_id Many2one → product.product
    readonly=True related='purchase_line_id.product_id' store=True args: 'product.product'
  • purchase_line_id Many2one → purchase.order.line
    ondelete='cascade' required=True args: 'purchase.order.line'
  • purchase_order_id Many2one → purchase.order
    related='wizard_id.purchase_order_id' store=True args: 'purchase.order'
  • qty Float
    digits='Product Unit of Measure' string='Quantity'
  • unit_price Monetary
    required=True
  • uom_category_id Many2one → uom.category
    related='product_id.uom_id.category_id' store=True args: 'uom.category'
  • uom_id Many2one → uom.uom
    ondelete='cascade' required=True string='Unit of Measure' args: 'uom.uom'
  • wizard_id Many2one → purchase.order.manual.receipt.wizard
    required=True args: 'purchase.order.manual.receipt.wizard'
Public methods (0)

No public methods.

New fields (2)
  • manually_generated Boolean
  • manually_received_qty Float
    compute='_compute_manually_received_qty' digits='Product Unit of Measure' help="Qty that has been received for stock move (in product's PO UoM)" store=True
Public methods (0)

No public methods.