Go to file
2026-03-31 11:56:50 +07:00
models first commit 2026-03-31 11:56:50 +07:00
views first commit 2026-03-31 11:56:50 +07:00
__init__.py first commit 2026-03-31 11:56:50 +07:00
__manifest__.py first commit 2026-03-31 11:56:50 +07:00
.gitignore first commit 2026-03-31 11:56:50 +07:00
README.md first commit 2026-03-31 11:56:50 +07:00

Account Payment: Current Liability Override

Overview

By default, Odoo restricts the creation of payments strictly to accounts of type asset_receivable (Receivable) or liability_payable (Payable). This prevents businesses from cleanly mapping vendor or employee payables to liability_current (Current Liabilities) accounts, such as "Accrued Expenses".

This module overrides those strict native constraints to allow liability_current accounts to be natively selected and processed in payments.

Features

  • Overrides the property_account_payable_id domain on the res.partner form to allow selecting liability_current as a valid payable account.
  • Overrides the destination_account_id domain in account.payment to support liability_current.
  • Overrides _get_valid_payment_account_types() in account.payment to natively include liability_current in the payment registration wizard validation check.

Setup Requirements ⚠️

Even with this module installed, Odoo still requires any account used for payment clearing/matching to allow reconciliation.

You MUST:

  1. Go to your Chart of Accounts.
  2. Locate the specific Current Liabilities account you wish to use (e.g., 216109).
  3. Manually tick the "Allow Reconciliation" checkbox for that account.

Without this checkbox, Odoo will raise errors during the Payment Registration process because the journal items cannot be paired.

Dependencies

  • account