[FIX]GOLEM Family : linked member partner should not be required, for member creation

This commit is contained in:
Fabien BOURGEOIS 2018-07-17 12:13:04 +02:00
parent 06618da5f1
commit 2f297f4db0
2 changed files with 4 additions and 3 deletions

View File

@ -18,7 +18,8 @@
{ {
'name': 'GOLEM families', 'name': 'GOLEM families',
'summary': 'GOLEM Members Families', 'summary': 'GOLEM Members Families',
'version': '10.0.2.2.0', 'description': 'GOLEM Members Families',
'version': '10.0.2.2.1',
'category': 'GOLEM', 'category': 'GOLEM',
'author': 'Fabien Bourgeois', 'author': 'Fabien Bourgeois',
'license': 'AGPL-3', 'license': 'AGPL-3',

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- <!--
Copyright 2017 Fabien Bourgeois <fabien@yaltik.com> Copyright 2017-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 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="lastname" position="before"> <field name="lastname" position="before">
<field name="id" invisible="1" /> <field name="id" invisible="1" />
<field name="partner_id" invisible="1" /> <field name="partner_id" invisible="1" required="0" />
<p class="oe_grey" colspan="2" <p class="oe_grey" colspan="2"
attrs="{'invisible': [('id', '!=', False)]}"> attrs="{'invisible': [('id', '!=', False)]}">
Please save new member before assigning a family. Please save new member before assigning a family.