forked from Yaltik/golem
[FIX]GOLEM Activity Registration State tree view fix
This commit is contained in:
parent
c98e9331db
commit
1328a5b303
@ -25,15 +25,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<field name="inherit_id"
|
<field name="inherit_id"
|
||||||
ref="golem_activity_registration.activity_form" />
|
ref="golem_activity_registration.activity_form" />
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree position="attributes">
|
<tree position="replace">
|
||||||
<attribute name="colors">red: state == 'canceled';darkgrey: state == 'draft';</attribute>
|
<tree editable="top"
|
||||||
|
colors="red: state == 'canceled';darkgrey: state == 'draft';">
|
||||||
|
<field name="state" invisible="1" />
|
||||||
|
<field name="member_id"
|
||||||
|
domain="[('season_ids', '=', season_id)]" />
|
||||||
|
<field name="activity_id" readonly="1" />
|
||||||
|
<field name="season_id" readonly="1" />
|
||||||
|
<field name="invoice_id" readonly="1" />
|
||||||
|
</tree>
|
||||||
</tree>
|
</tree>
|
||||||
<tree position="inside">
|
|
||||||
<field name="state" invisible="1" />
|
|
||||||
</tree>
|
|
||||||
<field name="season_id" position="after">
|
|
||||||
<field name="invoice_id" readonly="1" />
|
|
||||||
</field>
|
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user