Skip to content

[17.0][ADD] account_caba_payment_date: date cash basis entries on the payment date - #963

Open
alan196 wants to merge 1 commit into
OCA:17.0from
Jarsa-dev:17.0-add-account_caba_payment_date
Open

[17.0][ADD] account_caba_payment_date: date cash basis entries on the payment date#963
alan196 wants to merge 1 commit into
OCA:17.0from
Jarsa-dev:17.0-add-account_caba_payment_date

Conversation

@alan196

@alan196 alan196 commented Jul 27, 2026

Copy link
Copy Markdown

Standard Odoo dates the tax cash basis (CABA) entry with the newest date of the reconciled entries and, when that date falls in a locked period, with the date of the day the reconciliation is done. This shifts cash basis taxes (e.g. VAT effectively paid) to a fiscal month different from the payment month, which is not acceptable in countries where those taxes are due on the payment date (e.g. Mexico, where the payment complement stamping day would otherwise define the fiscal month).

This module dates the cash basis entry on the bank/cash entry date of the reconciliation. When that date falls in a locked period, the behavior is configurable per company in the accounting settings (Cash Basis Lock Policy):

  • Block the reconciliation (default): raise an explanatory error asking to reopen the period.
  • Use the first open date: date the entry on the first day after the lock.
  • Keep the standard behavior: let Odoo date the entry on the reconciliation date.

Supersedes #739 / #769 (closed as stale), now with per-partial date mapping, lock date handling, settings UI and tests.

🤖 Generated with Claude Code

…nt date

Standard Odoo dates the tax cash basis entry with the newest date of the
reconciled entries and, when that date falls in a locked period, with
the date of the day the reconciliation is done. This shifts cash basis
taxes (e.g. VAT effectively paid) to a fiscal month different from the
payment month, which is not acceptable in countries where those taxes
are due on the payment date (e.g. Mexico).

Date the entry on the bank/cash entry date of the reconciliation, with a
configurable per-company policy when that date falls in a locked period:
block the reconciliation (default), use the first open date, or keep the
standard behavior.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@OCA-git-bot OCA-git-bot added series:17.0 mod:account_caba_payment_date Module account_caba_payment_date labels Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:account_caba_payment_date Module account_caba_payment_date series:17.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants