edit golem family views

This commit is contained in:
Youssef Elouahby 2018-08-13 16:48:33 +01:00
parent 0249a1c50f
commit 12f5a08bfc
1 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -27,7 +28,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="arch" type="xml">
<sheet position="before">
<header>
<button name="family_membership" type="object" string="Family membership" class="oe_highlight"/>
<button name="family_membership" type="object"
string="Family membership" class="oe_highlight"
attrs="{'invisible': ['|', ('id', '=', False), ('member_ids', '=', False)]}" />
<field name="id" invisible="1"/>
</header>
</sheet>
</field>