Skip to content

Commit

Permalink
fix: Hidde trab translation without flag and table name end _Trl.
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinBetanc0urt committed Jun 30, 2024
1 parent 6be4311 commit b030204
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/utils/ADempiere/dictionary/window/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1427,9 +1427,10 @@ export function generateTabs({
})
return false
}
return !(
itemTab.is_translation_tab
)
if (itemTab.is_translation_tab || (itemTab.table.table_name.endsWith('_Trl'))) {
return false
}
return true
}).map((currentTab, index, listTabs) => {
const isParentTab = Boolean(firstTabTableName === currentTab.table_name)
const parentTabs = listTabs
Expand Down

0 comments on commit b030204

Please sign in to comment.