50
50
<attribute name="attrs">{'readonly': [('state', 'not in', ['draft', 'auto', 'assigned', 'confirmed'])]}</attribute>
52
52
<xpath expr="/form//field[@name='partner_id2']" position="attributes">
53
<attribute name="domain">['|', '&', ('partner_type', '!=', 'internal'), ('customer', '=', True), ('is_instance', '=', True)]</attribute>
53
<attribute name="domain">[('partner_type', 'in', ['esc', 'external']), ('customer', '=', True)]</attribute>
55
55
<xpath expr="/form//field[@name='move_lines']/tree//field[@name='location_id']" position="after">
56
56
<field name="location_dest_id" readonly="1" />