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

fix: add entity in where for fetch when fetch by ref #32652

Conversation

FHenry
Copy link
Member

@FHenry FHenry commented Jan 14, 2025

With multicompany, when try to diplay PDF of exepnese report
document.php=>dol_check_secure_access_document=>$tmpexpensereport->fetch('', $refname);
if there is other exepnese report with the same ref in other entity the test done is not correct (bad fk_user_create)

@eldy eldy added the PR to fix - See feedback in comments PR needs to be fixed to be integrated (some comments should describes the fix to do) label Jan 14, 2025
@eldy eldy merged commit 0409b8b into Dolibarr:18.0 Jan 16, 2025
7 checks passed
@FHenry FHenry deleted the 18_fix_fetch_expensereport_wihtout_entity_check_by_ref branch January 16, 2025 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR to fix - See feedback in comments PR needs to be fixed to be integrated (some comments should describes the fix to do)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants