-
-
Notifications
You must be signed in to change notification settings - Fork 868
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] partner_display_name_line_break: Do not split with empty name
Do not split on two lines if name is empty as it would display the address type on a new line in the report. This happens because Odoo splits the display_name on \n character and discards the first element to get the address from the display_name. In which case, the address type would appear as part of the address. In case this is still needed, an added context key allows to still display the address type.
- Loading branch information
1 parent
f53d667
commit ec621ad
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters