OdooWiki OCA HUB

Account Fiscal Position Allowed Journal Purchase

account_fiscal_position_allowed_journal_purchase folder_open OCA/purchase-workflow open_in_new
Uncategorised License: AGPL-3

When creating an invoice from a purchase order, take the allowed purchase journal on the fiscal position, if there is exactly one on it.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

When you create a vendor bill from a purchase order, Odoo automatically picks the purchase journal allowed by the order's fiscal position, if that fiscal position allows exactly one purchase journal.

This module links purchase orders and fiscal positions to the journal used on vendor bills. It only changes what happens when a bill is created from a purchase order.

  • On the vendor bill form, when you select a purchase order (or a vendor bill to reverse), Odoo fills in the bill details as usual. If the purchase order has a fiscal position, and that fiscal position allows exactly one purchase journal, that journal is set on the bill automatically.
  • If the fiscal position allows no journal, or more than one, nothing is changed and you keep the journal Odoo would normally use.
  • The rule is applied through the existing automatic completion of vendor bills from purchase orders, so it happens as soon as the purchase order is chosen, before you save.

The module extends the accounting entry model account.move and relies on the fiscal position's allowed journals configured by the companion module. It adds no new menus, screens, reports or scheduled actions; it only refines the default journal on vendor bills created from purchase orders.

Models and fields (1)
  • account.move · 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: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/purchase-workflow.

terminal Installation and usage

OCA documentation · Odoo 19.0

See configuration of Account Fiscal Position Allowed Journal.

No verified information in OCA: Installation, Usage.

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.