Skip to content

Subtotals predefined titles and texts - #39337

Open
frederic34 wants to merge 69 commits into
Dolibarr:developfrom
frederic34:subtotals-predefined-phrases
Open

Subtotals predefined titles and texts#39337
frederic34 wants to merge 69 commits into
Dolibarr:developfrom
frederic34:subtotals-predefined-phrases

Conversation

@frederic34

@frederic34 frederic34 commented Jul 30, 2026

Copy link
Copy Markdown
Member
image image image

Design doc for adding a dictionary of predefined phrases usable in
title-line descriptions of the subtotals module.
…nk-option write, unescaped option value, entity-scoped dictionary query
Button entries built without a 'text' key (e.g. the subtotals module's
"Add title line"/"Add subtotal line" dropdown) triggered a PHP warning
on the multi-button branch, which already guarded every other optional
key the same way.
Adds a spec for extending the googleapi custom module with a new ECM tab
that browses/manages the connected user's Google Drive content.
9-task plan extending the googleapi custom module: Drive service helper,
tab registration, tab page, tree/list/download AJAX endpoints, and
upload/rename/delete actions.
The final whole-branch review found the plan wrongly assumed
jqueryFileTree.js is loaded globally by Dolibarr core; it must be
pushed into each page's own \$morejs array. Documented the actual
requirement for future reference.
…ictionary

Design doc for a third subtotals-module line kind (qty=0, no level,
no closing line) with its own multi-line predefined-text dictionary,
building on the predefined-phrases dictionary infrastructure.
@frederic34

Copy link
Copy Markdown
Member Author

The delivery instruction and payment terms are alreayd added in invoice as dedicated field. Added them at line level, generates a duplicat feature that can create confusion for end users, and won't be compatible with einvoice that need to have this field at dedicated field and global for invoice. So can you for the moment hide this "selection of the predefined title" with a hidden constant to keep only the "Add a tet line".

This is sample text, it can be anything else

Comment thread htdocs/install/mysql/data/llx_c_subtotals_texts-subtotals.sql Outdated
Comment thread htdocs/install/mysql/data/llx_c_subtotals_texts-subtotals.sql Outdated
Comment thread htdocs/install/mysql/data/llx_c_subtotals_titles-subtotals.sql Outdated
Comment thread htdocs/install/mysql/data/llx_c_subtotals_titles-subtotals.sql Outdated
@eldy eldy added PR to fix - See feedback in comments PR needs to be fixed to be integrated (some comments should describes the fix to do) PR mixing structure and code change A PR with SQL addition must be pushed without code change. Split PR to submit structure only first. and removed Discussion Some questions or discussions are opened and wait answers of author or other people to be processed PR postponed PR is postponed (will be processed later). Ie: pushed during/near a beta, or need transition delay labels Aug 5, 2026
@frederic34 frederic34 removed the PR mixing structure and code change A PR with SQL addition must be pushed without code change. Split PR to submit structure only first. label Aug 8, 2026
@frederic34 frederic34 removed 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 Aug 14, 2026
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