Skip to content

FIX: TakePos sometimes thirdpartyid = undefined#36343

Merged
rycks merged 4 commits intoDolibarr:18.0from
noec764:18_FIX_socid_undefined
Jan 8, 2026
Merged

FIX: TakePos sometimes thirdpartyid = undefined#36343
rycks merged 4 commits intoDolibarr:18.0from
noec764:18_FIX_socid_undefined

Conversation

@noec764
Copy link
Copy Markdown
Contributor

@noec764 noec764 commented Nov 20, 2025

Linked to 36341
Sometimes jQuery('#thirdpartyid').val() is undefined because the input is described in takepos/invoice.php.
But it needs to be defined before, to prevent wrong price to be fetched in case of multilevel prices.

@the-dolibear-bot-for-v18 the-dolibear-bot-for-v18 bot added the Issue for v18 maintenance Team PR is in a maintenance branch with several approvers. Waiting approval of all of them. label Nov 20, 2025
@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 Nov 20, 2025
@noec764 noec764 requested a review from eldy November 21, 2025 15:28
Copy link
Copy Markdown
Contributor

@rycks rycks left a comment

Choose a reason for hiding this comment

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

hello @noec764,
as @eldy says could you please convert <?= $socid ?> with <?php ...

@rycks rycks merged commit c981b7c into Dolibarr:18.0 Jan 8, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Issue for v18 maintenance Team PR is in a maintenance branch with several approvers. Waiting approval of all of them. 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