OdooWiki OCA HUB

Account Payment Purchase Stock

account_payment_purchase_stock folder_open OCA/bank-payment open_in_new
Banking addons License: AGPL-3

This module combines the account_payment_purchase module with purchase_stock.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Automatically copies the supplier's payment mode and bank account onto purchase orders created by stock rules (make-to-order or drop shipping).

This module links the payment information used in purchasing with the stock replenishment logic. When Odoo automatically creates a purchase order from a stock rule — for example a make-to-order or drop-shipping route — the new order now inherits the payment mode and the supplier bank account configured on the supplier.

  • The supplier's default payment mode is copied to the purchase order.
  • The supplier's default bank account is also set on the purchase order.
  • This happens only when the supplier is known on the stock rule values.

It works behind the scenes: there is no new menu, screen or button. Users simply see that automatically generated purchase orders already carry the correct payment mode and bank account, instead of having to fill them in manually. The change touches the stock rule logic (stock.rule) and the purchase order preparation (purchase.order), and relies on the supplier fields for payment mode and bank account. It is installed automatically when both the account payment purchase and purchase stock features are present.

Depends on

Models and fields (1)
  • stock.rule · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 19.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/bank-payment.

terminal Installation and usage

OCA documentation · Odoo 19.0

This module depends on :

  • purchase_stock
  • account_payment_purchase

This module is part of the OCA/bank-payment suite.

This module doesn't add any feature, but it is used by several other modules.

No verified information in OCA: Configuration.

info

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.