Purchase Auto Bill on Receipt

purchase_auto_bill_on_receipt
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/19.0/purchase_auto_bill_on_receipt
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Quartile
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Quartile
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Aungkokolin1997
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module automatically creates and posts a Vendor Bill when a purchase
receipt is validated. It also creates and posts a Credit Note when a
purchase return is validated, provided the return lines are marked as
*Update quantities on SO/PO* in the return wizard.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
purchase_order_form purchase.order group Inherits purchase.purchase_order_form
res_config_settings_view_form res.config.settings block Inherits purchase.res_config_settings_view_form_purchase
view_partner_form res.partner group Inherits purchase.view_partner_property_form
Models touched (5)

New fields (1)
  • block_auto_bill Boolean
    help='When enabled, suppresses automatic bill creation on receipt for this order, regardless of the company or vendor settings.'
Public methods (0)

No public methods.

New fields (1)
  • auto_bill_on_receipt Boolean
    help='When enabled, validating an incoming purchase receipt automatically creates and posts a Vendor Bill. This is the default for all vendors and can be overridden per vendor.' string='Auto Bill on Purchase Receipt'
Public methods (0)

No public methods.

New fields (1)
  • auto_bill_on_receipt Boolean
    readonly=False related='company_id.auto_bill_on_receipt'
Public methods (0)

No public methods.

New fields (1)
  • auto_bill_on_receipt Selection
    help='Override the company default for auto-billing on purchase receipt. Leave empty to inherit the company setting.' selection=[('auto', 'Auto Bill'), ('no_auto', 'No Auto Bill')] string='Auto Bill on Purchase Receipt'
Public methods (0)

No public methods.

New fields (1)
  • auto_bill_pending Boolean
    copy=False help='Set when a validated receipt or return is queued for auto-billing. The scheduled action picks it up to create and post the Vendor Bill or Credit Note.'
Public methods (1)
  • button_validate(self)