-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
BugThis is a bug (something does not work as expected)This is a bug (something does not work as expected)Issue Stale (automatic label)This issue is stale because it has been open 1 year with no activity. Remove this label to keep openThis issue is stale because it has been open 1 year with no activity. Remove this label to keep open
Description
Bug
In my custom module, I am successfully overriding two other .tpl.php files (objectline_create.tpl.php and objectline_edit.tpl.php), but I am unable to override object_discounts.tpl.php. This raises the question of whether:
There is a bug specifically preventing object_discounts.tpl.php from being overridden or its not possible
Thank you for your help
Dolibarr Version
19.0.1
Environment PHP
8.1
Environment Database
No response
Steps to reproduce the behavior and expected behavior
Copy the object_discounts.tpl.php file into the corresponding /custom/<module_path>/core/tpl/ directory with modifications.
Test the module to see if the custom template is used.
Attached files
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugThis is a bug (something does not work as expected)This is a bug (something does not work as expected)Issue Stale (automatic label)This issue is stale because it has been open 1 year with no activity. Remove this label to keep openThis issue is stale because it has been open 1 year with no activity. Remove this label to keep open