コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
5672 ビュー

I'd like to know how can I write superscript and subscript characters in Odoo?


Is it a Odoo or browser thing? I am not too sure but I would like to write.... say

H2O where the 2 is subscript and ft3 where the 3 is superscript. etc.

アバター
破棄
最善の回答

There are several places where Odoo can show subscript characters.

Can you supply more information about WHERE you want to show them?  On the screen?  A PDF report?  A Menu?



In this case, simply copy the subscript character and paste.

アバター
破棄
著作者

Hi ray.

There are two obvious places. One is more static and that is the UOM and one is ore dynamic and that is in Chatter or messages such as H2O or m3 or 3^3

Why don't we have this, I always wonder. (not only Odoo but general whine)

thanks.

Ramzi

Supported in both places but you use the same method as you do when using your desktop word processing applications - which varies based on Platform - and as you can see there is no accepted standard way for entering them - see https://www.fileformat.info/tip/microsoft/enter_unicode.htm - I always use COPY/PASTE and it worked everwhere I tried it.

著作者

This did not work for me. Here is what I did; I want to create m3 UoM so I went to MS Word, typed m3 and superscripted "3". Copies the complete text "m3". Pasted it in UOM in Odd but it did not appear as I need.

We already have the following Units of Measure in v14: ft³, m³ and in³ - you can copy them from https://runbot.odoo.com into your system.

著作者

I was able to copy / paste from Google Docs and not from MS Word. thanks Ray.

最善の回答

Superscript or underscript option should be implemented in the powerbox. As should a pop info on hover.

The case for the need is evident if you need to footnote references for the text you're writing. The unicode alt extended characters only go as far as 1, 2 and 3 which is clearly insufficient.

If I knew how to program this I would. But I think it requires more than one language to do this. Python and Js probably.

Let's hope the higher spheres are listening. Is there an alternative editor for rich text fields? That would make it so that reinventing the wheel's deemed unnecessary.

Keep safe!

アバター
破棄
関連投稿 返信 ビュー 活動
3
5月 25
1604
2
3月 24
1863
1
6月 23
2201
0
3月 23
1957
3
1月 24
17572