Browse Source

[FIX] fix missing state field in the subview

11.0
houssine 6 years ago
parent
commit
683868e243
  1. 2
      easy_my_coop/view/operation_request_view.xml

2
easy_my_coop/view/operation_request_view.xml

@ -32,6 +32,7 @@
<sheet> <sheet>
<group> <group>
<group> <group>
<field name="state"/>
<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')]}"/>
@ -58,6 +59,7 @@
<field name="phone"/> <field name="phone"/>
<field name="email"/> <field name="email"/>
<field name="iban"/> <field name="iban"/>
<field name="state" invisible="True"/>
</tree> </tree>
<form string="Subscription Requests"> <form string="Subscription Requests">
<sheet> <sheet>

Loading…
Cancel
Save