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 to avoid wrong path of file #25320

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

hregis
Copy link
Contributor

@hregis hregis commented Jul 11, 2023

@eldy

this is to avoid side effects on child entities.
eg: if we are on entity 2 and the document number ends with the number 2 we have this:

/2/invoice/FA2302-0002/FA2302-0002.pdf

it gave:

/invoice/FA2302-000FA2302-0002.pdf

instead of :

/invoice/FA2302-0002/FA2302-0002.pdf

@hregis hregis requested a review from eldy July 11, 2023 09:24
@eldy eldy merged commit 76d6a30 into Dolibarr:16.0 Jul 12, 2023
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