[17.0][ADD] account_caba_payment_date: date cash basis entries on the payment date - #963
Open
alan196 wants to merge 1 commit into
Open
[17.0][ADD] account_caba_payment_date: date cash basis entries on the payment date#963alan196 wants to merge 1 commit into
alan196 wants to merge 1 commit into
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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):
Supersedes #739 / #769 (closed as stale), now with per-partial date mapping, lock date handling, settings UI and tests.
🤖 Generated with Claude Code