edit golem family views
This commit is contained in:
parent
0249a1c50f
commit
12f5a08bfc
@ -1,7 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-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
|
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
|
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">
|
<field name="arch" type="xml">
|
||||||
<sheet position="before">
|
<sheet position="before">
|
||||||
<header>
|
<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>
|
</header>
|
||||||
</sheet>
|
</sheet>
|
||||||
</field>
|
</field>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user