This commit is contained in:
michel 2018-01-26 17:51:50 +01:00
parent cc0c6b9b61
commit 213fe4005c
1 changed files with 2 additions and 4 deletions

View File

@ -31,12 +31,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="family_role" /> <field name="family_role" />
</field> </field>
<notebook> <notebook>
<xpath expr="//notebook/page[@name='other_page']" position="before" > <page string="Family members"
<page string="Family members" attrs="{'invisible': [('family_id', '=', False)]}"> attrs="{'invisible': [('family_id', '=', False)]}">
<group> <group>
<group string="Address"> <group string="Address">
<group> <group>
<field name="family_member" />
<field name="family_street" placeholder="Street..." /> <field name="family_street" placeholder="Street..." />
<field name="family_street2" /> <field name="family_street2" />
<field name="family_zip" placeholder="ZIP" /> <field name="family_zip" placeholder="ZIP" />
@ -76,7 +75,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</tree> </tree>
</field> </field>
</page> </page>
</xpath>
</notebook> </notebook>