Journals
Journals are the buckets that group related journal entries. Every posted transaction in YGC is assigned to a journal, which determines the default accounts, sequence numbers, and behavior of the entry.
Navigation: Accounting → Configuration → Journals
Journal types
| Type | Purpose | Example codes at YGC |
|---|---|---|
| Sales | Customer invoices and credit notes | INV, <XX>INV |
| Purchase | Vendor bills and refunds | BILL, <XX>BIL |
| Bank | Bank statements, transfers, check payments | BNK1, BNK2 (shared) |
| Cash | Cash transactions, petty cash | CSH1, <XX>CSH |
| General | Manual entries, accruals, adjustments, forex, inventory valuation | MISC, EXCH, STJ, <XX>MSC |
Multi-branch model (target state)
Each branch gets its own journal set with a branch-specific code prefix. See Multi-Branch Setup.
Naming patterns
YGC standardizes on the Odoo built-in date-aware pattern:
<CODE>/<YYYY>/<MM>/<NNNN>
Examples:
MISC/2026/04/0001PCBIL/2026/04/0023SSINV/2026/04/0042
Codes are capped at 5 characters by Odoo (account.journal.code is varchar(5)) — see Multi-Branch Setup for the prefix convention.
Avoid:
- ❌
JV-YYYY-MM-NNfrom the deprecatedrts-journal-sequencemodule — produces non-resequenceable entries - ❌ Manual numbering — breaks Odoo's date/sequence integrity check
Sequence settings reference
Recommended defaults per journal:
| Setting | Value | Reason |
|---|---|---|
use_date_range | true (monthly) | Enables MISC/YYYY/MM/NNNN pattern; resets each month |
padding | 4 | Sufficient for ~10K entries/month/journal |
implementation | standard | Allows gaps; avoid no_gap unless legally required for that journal |
refund_sequence | true for sale/purchase, false otherwise | Separate credit-note series |
restrict_mode_hash_table | unchanged | Don't toggle without legal/audit sign-off |
See Sequences for the deeper discussion of no_gap vs standard.
Why journals matter
- Grouping — all sales invoices in one journal, all bank payments in another, simplifies reporting
- Default accounts — each journal has a default debit/credit account
- Sequence numbers — auto-numbered per journal short code
- Access control — restrict by user group via security rules
- BIR reporting — Sales Book / Purchase Book / General Journal are filtered by journal type