Skip to content

[IMP] account_caba_payment_date: per-partial dates and lock policy task#31944 - #5

Merged
alan196 merged 1 commit into
Jarsa:17.0from
Jarsa-dev:17.0-imp-account_caba_payment_date
Jul 27, 2026
Merged

alan196 merged 1 commit into
Jarsa:17.0from
Jarsa-dev:17.0-imp-account_caba_payment_date

Conversation

@alan196

@alan196 alan196 commented Jul 27, 2026

Copy link
Copy Markdown

Date each cash basis (CABA) entry with the payment date of its own partial reconcile instead of the first partial of the batch, and consider the tax lock date in addition to the user fiscal lock date when deciding whether the payment date is usable.

When the payment date falls in a locked period the behavior is now configurable per company in the accounting settings (Cash Basis Lock Policy):

  • Block the reconciliation (new 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.

Version bumped to 17.0.2.0.0 (behavior change: mtnmx runs the previous version in production — after updating, reconciliations into locked periods will be blocked by default unless the policy is changed).

Includes 5 unit tests and updated OCA readme fragments.

Context: Starka task#31944 — VAT cash basis entries were being dated on the reconciliation day (coinciding with the REP stamping day) instead of the payment date when the payment month was already locked.

🤖 Generated with Claude Code

…sk#31944

Date each cash basis entry with the payment date of its own partial
reconcile instead of the first partial of the batch, and consider the
tax lock date in addition to the user fiscal lock date.

When the payment date falls in a locked period the behavior is now
configurable per company (default: block the reconciliation with an
explanatory error; alternatives: date the entry on the first open day
or keep the standard behavior). Add settings UI, tests and readme.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jarsabot

Copy link
Copy Markdown

Linked to Odoo task #31944

@alan196
alan196 merged commit 35a6160 into Jarsa:17.0 Jul 27, 2026
1 of 4 checks passed
@alan196
alan196 deleted the 17.0-imp-account_caba_payment_date branch July 27, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants