Skip to content

Commit

Permalink
Fix: Hidden Column Windows (PanJiaChen#2361)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricargame authored Jun 19, 2024
1 parent 25dcbae commit b6a88b0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/utils/ADempiere/dictionary/window/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1744,13 +1744,13 @@ export const containerManager = {
},
isDisplayedColumn,
isDisplayedDefaultTable: ({ is_mandatory, is_parent, default_value, display_type, parsedDefaultValue }) => {
if (is_mandatory && !is_parent && isEmptyValue(default_value)) {
// Yes/No field always boolean value (as default value)
if (display_type === YES_NO.id) {
return false
}
return true
}
// if (is_mandatory && !is_parent && isEmptyValue(default_value)) {
// // Yes/No field always boolean value (as default value)
// if (display_type === YES_NO.id) {
// return false
// }
// return true
// }
return false
},

Expand Down

0 comments on commit b6a88b0

Please sign in to comment.