Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][IMP] account_journal_restrict_mode: do not force hash on bank and cash journals #2008

Open
wants to merge 1 commit into
base: 18.0
Choose a base branch
from

Conversation

JordiMForgeFlow
Copy link
Contributor

@JordiMForgeFlow JordiMForgeFlow commented Jan 3, 2025

Forcing the hashing of bank and cash journals results in errors when creating bank transactions, due to the commit added in Odoo: odoo/odoo@9740189

We make the restrict mode field computed in order to force the value correctly based on the journal type.

@JordiMForgeFlow JordiMForgeFlow changed the title [IMP] account_journal_restrict_mode: do not force hash on bank and cash journals [18.0[IMP] account_journal_restrict_mode: do not force hash on bank and cash journals Jan 3, 2025
@JordiMForgeFlow JordiMForgeFlow changed the title [18.0[IMP] account_journal_restrict_mode: do not force hash on bank and cash journals [18.0][IMP] account_journal_restrict_mode: do not force hash on bank and cash journals Jan 3, 2025
Copy link
Contributor

@AaronHForgeFlow AaronHForgeFlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok!

@JordiMForgeFlow JordiMForgeFlow force-pushed the 18.0-imp-account_journal_restrict_mode branch from 3d7bbf9 to 38fdf13 Compare January 3, 2025 12:52
…sh journals

Forcing the hashing of bank and cash journals results in errors when creating bank transactions,
due to the commit added in Odoo: odoo/odoo@9740189
@JordiMForgeFlow JordiMForgeFlow force-pushed the 18.0-imp-account_journal_restrict_mode branch from 38fdf13 to 2c22004 Compare January 3, 2025 13:48
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