Hide Bottom panel on condition not working
Collapse
X
-
Before and after.
The logic doesn't start with the application.
To make it work, is necessary to change status to something and back to complete, then save.
But if refresh the page (f5) the logic is gone again.
I need to open one/any salesorder, change status to 'something' and back to 'complete', and the logic is ok again.Last edited by abiaua007; 11-26-2023, 05:46 PM. -
Success.
I've edited the salesorder.json and removed
"layoutDetailDisabled": true,
from
"itemList": {
"type": "jsonArray",
"notStorable": true,
"layoutDetailDisabled": true,
"layoutFiltersDisabled": true,
"layoutListDisabled": true,
"view": "sales:views/quote/fields/item-list",
"templatePlaceholderDisabled": true,
"reportDisabled": true
},
then I had the option visible.
Thanks a lot.Last edited by abiaua007; 11-25-2023, 09:07 PM. -
what do you mean for one line ? if you make the field itemslist readonly based on certain condition then you can't edit the itemlist.Leave a comment:
-
Hi your sugestion is ok for one line, but it doesn't lock new lines insertion. I think that is possible to hide on edition because we have that option. But I had no luck on making it work. (bottom panel items edit)Last edited by abiaua007; 11-25-2023, 12:34 PM.Leave a comment:
-
you should make the field itemsList read only when amount is not empty. bear in mind that the amount is calculated based on added items.Leave a comment:
-
Hide Bottom panel on condition not working
Hello friends
I need to lock the purchase order items from editing, after it is closed and aproved.
For this purpose I tried to hide the bottom panel in edit mode, using this link
link :url/#Admin/layouts/scope=SalesOrder&type=bottomPanelsEdit&em=true,
but the option doesn't work.
Has anyone had the same issue?
Thank you.Last edited by abiaua007; 11-20-2023, 11:22 AM.Tags: None
Leave a comment: