Commit 4133952
committed
[FIX] core: fix typofix translation
The get_text_content is not powerful enough to extract translated attributes. As
a result, get_text_content will return empty string '' for terms whose
translated contents are only in attributes. When the result is used to build the
mapping text2terms, users will get strange result after write.
opw-4147913
closes odoo#193574
Signed-off-by: Raphael Collet <rco@odoo.com>1 parent 4375971 commit 4133952
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
997 | 997 | | |
998 | 998 | | |
999 | 999 | | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
1000 | 1014 | | |
1001 | 1015 | | |
1002 | 1016 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1815 | 1815 | | |
1816 | 1816 | | |
1817 | 1817 | | |
1818 | | - | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
1819 | 1821 | | |
1820 | 1822 | | |
1821 | 1823 | | |
| |||
0 commit comments