|
@ -35,14 +35,14 @@ |
|
|
<field name="request_date" attrs="{'readonly':[('state','!=','draft')]}"/> |
|
|
<field name="request_date" attrs="{'readonly':[('state','!=','draft')]}"/> |
|
|
<field name="operation_type" attrs="{'readonly':[('state','!=','draft')]}"/> |
|
|
<field name="operation_type" attrs="{'readonly':[('state','!=','draft')]}"/> |
|
|
<field name="receiver_not_member" attrs="{'invisible':[('operation_type','!=','transfer')]}"/> |
|
|
<field name="receiver_not_member" attrs="{'invisible':[('operation_type','!=','transfer')]}"/> |
|
|
<field name="partner_id" attrs="{'readonly':[('state','!=','draft')]}"/> |
|
|
|
|
|
|
|
|
<field name="partner_id" options="{'no_create':True}" attrs="{'readonly':[('state','!=','draft')]}"/> |
|
|
<field name="partner_id_to" attrs="{'invisible':['|',('operation_type','!=','transfer'), ('receiver_not_member','=',True)]}"/> |
|
|
<field name="partner_id_to" attrs="{'invisible':['|',('operation_type','!=','transfer'), ('receiver_not_member','=',True)]}"/> |
|
|
</group> |
|
|
</group> |
|
|
<group> |
|
|
<group> |
|
|
<field name="user_id"/> |
|
|
<field name="user_id"/> |
|
|
<field name="share_product_id" attrs="{'readonly':[('state','!=','draft')]}"/> |
|
|
|
|
|
|
|
|
<field name="share_product_id" attrs="{'readonly':[('state','!=','draft')]}" widget="selection"/> |
|
|
<field name="share_short_name" readonly="True"/> |
|
|
<field name="share_short_name" readonly="True"/> |
|
|
<field name="share_to_product_id" attrs="{'invisible':[('operation_type','!=','convert')],'required':[('operation_type','=','convert')],'readonly':[('state','!=','draft')]}"/> |
|
|
|
|
|
|
|
|
<field name="share_to_product_id" attrs="{'invisible':[('operation_type','!=','convert')],'required':[('operation_type','=','convert')],'readonly':[('state','!=','draft')]}" widget="selection"/> |
|
|
<field name="share_to_short_name" readonly="True"/> |
|
|
<field name="share_to_short_name" readonly="True"/> |
|
|
<field name="quantity" attrs="{'readonly':[('state','!=','draft')]}"/> |
|
|
<field name="quantity" attrs="{'readonly':[('state','!=','draft')]}"/> |
|
|
<field name="share_unit_price" readonly="True"/> |
|
|
<field name="share_unit_price" readonly="True"/> |
|
|