Fixed
Details
Assignee
Carlos RuizCarlos RuizReporter
Carlos RuizCarlos RuizPriority
Minor
Details
Details
Assignee
Carlos Ruiz
Carlos RuizReporter
Carlos Ruiz
Carlos RuizPriority
Created January 16, 2018 at 10:44 AM
Updated February 12, 2025 at 12:42 PM
Resolved January 24, 2018 at 12:57 PM
Consider the attached 2Pack
It creates a Style and applies it to Sales Order > Document Status
The style shows the docstatus field in Yellow for Drafted orders and green for the rest.
The style works when opening the window, and if you keep navigating to records with the same status as the first navigated when opening the window.
But just after you navigate to a different status, the style disappears.
Example:
Opened the Sales Order window in a Drafted order -> style yellow - perfect
Navigated to second record also Draft -> style still yellow - perfect
Navigated to third record In Progress status -> style disappears and after that it doesn't work anymore
Checked the style in chrome developer tool - after navigating to that record the style is stick to width, even if the program sets the style correctly - green or yellow - when rendering at the end the style that appears is something like "width: 249px;"
My guess is that something is overwriting the style after navigating a record, but I could not find the cause.