Repository
OCA/purchase-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Purchase Management
Folder size
0.09 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/purchase-workflow
Last tracking update
2026-08-07 09:06:27
Authors
Odoo Community Association (OCA), Quartile
Maintainers
Odoo Community Association (OCA), Quartile
Committers
Aungkokolin1997, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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 form Inherits purchase.purchase_order_form
res_config_settings_view_form res.config.settings form Inherits purchase.res_config_settings_view_form_purchase
view_partner_form res.partner form Inherits purchase.view_partner_property_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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)