xml - How to show and align label for a field on a form in OpenERP? -


itemprop = "text">

I have a field, in the popup window, which is called "default_code", which correctly values ​​the value of 201-0147 Displayed, the image is attached. I have to leave the field label "item number" on the same line. I tried to set the attribute string in the "Item number" (the XML code attached) but it does not show I know that I & lt; Label & gt; I can use the element, but, when displayed, it appears above the field, which I do not want. I want in line with the area

Thank you for your help!

Here is the XML code :

  & lt; record id = "replace_all_in_BOM_form" model = "ir.ui.view"> gt; field name = "name" & gt; copy.all.in .bom.form & lt; / field & gt; field name = "model" & gt; product.template & lt; / field & gt; & lt; field name = "priority" eval = "20" / & Gt; Field Name = "Type" & gt; Form & lt; / Field & gt; & lt; field name = "arch" type = "xml" & gt; & lt; field name = "default_code" String = "item number" to read only = "1" insight  "Text"> 

A & lt; Group & gt; XML element will display the label by default.

   gt; field & gt; field name = "default_code" string = "item number" to read only = "1" invisible = "0" /> & Lt; / Groups & gt; & Lt; / Region & gt;  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -