2017-09-18 1 views
0

フィールド名に改行を使用しようとしています。挿入フィールドが長いフィールド名に起因するためです...私は<![CDATA[&#xD;]]> and <![CDATA[&#xA;]]>を試しましたが、フィールド文字列の\ n pythonファイルが何も働いていません。フィールド名にOdoo改行があります

これは、私が変更しようとしている部分です。ここでは、wordnumbertwoが改行される必要があります。

<attribute name="string">Wordnumberone/ wordnumbertwo</attribute> 

改行を行う方法を教えてください。

答えて

0

は最終的に私はこのようにそれを解決:

expr="pathtofield"によってトリガーされる特定のフィールドについて、古いCSSクラスoe_form_labeloe_form_label_newによって置き換えられます。

<xpath expr="pathtofield" position="attributes"> 
    <attribute name="class">oe_form_label oe_form_label_new</attribute> 
</xpath> 

私のフィールドを破るラインするCSSクラス:

.oe_form_label_new {white-space: normal !important;} 
関連する問題