On "Sales Orders" second tab "Other Information" is a field called Company, it's readonly. We have multicompany active and would like to have this active so you can change the company.
I looked up the path in developer mode under "manage views" and came up with this
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record model="ir.ui.view" id="view_sale_order_form">
<field name="name">sale.order.form</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form" />
<field name="arch" type="xml">
<xpath expr="/form/sheet/notebook/page[@string='Other Information']/group/group[1]/field[@name='company_id']/view/field[@name='company_id']/field[@name='company_id']" position="attributes">
<attribute name="readonly">0</attribute>
</xpath>
</field>
</record>
</data>
</openerp>
But the xpath expression ist wrong. I tried everything I could think of also the shortcut //field[@name='company_id'] which doesn't work. Any ideas ?