Skip to content
Snippets Groups Projects
Commit f1b695d9 authored by hupo-odoo's avatar hupo-odoo
Browse files

[FIX] account: fiduciary mode sequence checks


When the fiduciary mode is activated, we want to bypass the check of constrains on the date sequence.
Before this commit, fiduciary mode enabled to modify the name of a customer invoice but if the name resembled somewhat a normal sequence number,  there still might be cases where Odoo will try to match a "Journal ID" and a "Year" in a manual sequence number that is provided.

For example, writing 23-31-070 as the new invoice name, Odoo mistakingly interpreted the following:
- 23 is the name of the journal
- 31 is the year
- 070 is the sequence number

closes odoo/odoo#115883

Signed-off-by: default avatarQuentin De Paoli <qdp@odoo.com>
parent e5ae091a
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment