Purchase Advance Payment Line
The module allows to add advance payment lines on purchase orders.
auto_awesome What this module does
AI-generated from the code · Odoo 17.0Add advance payment lines directly on purchase orders and send them through payment orders. Users can create a payment line from the purchase order, see ongoing payment lines, and the amount is checked against the order residual.
This module lets you register advance payments for a purchase order as payment lines, instead of using the standard advance payment wizard.
On a purchase order form you get a "Create Payment Line" button, shown only when the vendor payment mode allows payment orders and there is still an amount to pay. Clicking it opens a small form where you enter the advance amount. The line is automatically attached to the first draft payment order using the same payment mode; if none exists, a new draft payment order is created for you.
A smart button with a bank icon shows the number of ongoing payment lines (those not yet uploaded or cancelled). Clicking it opens the list of those lines, or the single line if there is only one.
Business rules are enforced: the advance amount must be positive and cannot be greater than the remaining amount on the purchase order. Each payment line keeps a link to its purchase order, and the purchase order reference is also carried onto the generated payment.
The module touches purchase.order, account.payment.line and account.payment, and hides the old "Pay purchase advanced" button on the purchase order.
Depends on
Models and fields (2)
- purchase.order · extends an existing modelpayment_order_ok, account_payment_line_ids (Payment Lines), account_payment_line_count (Payment Line Count), ongoing_account_payment_line_ids (Ongoing Payment Lines), ongoing_account_payment_line_count (Ongoing Payment Line Count)
- account.payment.line · extends an existing modelpurchase_id (Purchase Order), payment_mode_id
Text generated by AI (DeepSeek) from reading the Odoo 17.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-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/purchase-workflow.
terminal Installation and usage
OCA documentation · Odoo 17.0Usage
Source · Odoo 17.0To use this module, you need to:
- Go to a purchase order.
- Click on "Create Payment Line".
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.