You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The extrafields for intervention lines are not filled in the database via API.
Dolibarr Version
19.0.2
Environment PHP
8.0.30
Environment Database
MySQL or MariaDB 8.0.37
Steps to reproduce the behavior and expected behavior
I've add one extrafield for intervention lines (via "Interventions" module in dolibarr)
But i can't filled this extrafield with API, here's what i try to send
When I try to send the JSON, I don't get any apparent error, the line is created correctly, but the extrafield isn't filled in.
I've highlighted where the data need to be filled
Attached files
No response
The text was updated successfully, but these errors were encountered:
Hello I haven't open the code but your naming doesn't follow the dolibarr rules
if you created a intervenant_custom, the naming is options_intervenant_custom
{
"description": "test",
"date": "1720598400",
"duree": "1800",
"array_options": {
"options_intervenant_custom": "Test"
}
}
Hello I haven't open the code but your naming doesn't follow the dolibarr rules if you created a intervenant_custom, the naming is options_intervenant_custom { "description": "test", "date": "1720598400", "duree": "1800", "array_options": { "options_intervenant_custom": "Test" } }
I'm sending informations via this route
It's the same as this post , i don't need to add "options_" in "array_options" when sending informations (like with ticket extrafields), only when retrieving informations ?.
Bug
The extrafields for intervention lines are not filled in the database via API.
Dolibarr Version
19.0.2
Environment PHP
8.0.30
Environment Database
MySQL or MariaDB 8.0.37
Steps to reproduce the behavior and expected behavior
I've add one extrafield for intervention lines (via "Interventions" module in dolibarr)
But i can't filled this extrafield with API, here's what i try to send
When I try to send the JSON, I don't get any apparent error, the line is created correctly, but the extrafield isn't filled in.
I've highlighted where the data need to be filled
Attached files
No response
The text was updated successfully, but these errors were encountered: