forked from Yaltik/golem
[TMP]context check
This commit is contained in:
parent
1f974cc217
commit
94df44087b
@ -26,17 +26,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<field name="inherit_id" ref="golem_member.golem_member_form" />
|
<field name="inherit_id" ref="golem_member.golem_member_form" />
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<field name="lastname" position="before">
|
<field name="lastname" position="before">
|
||||||
<field name="family_id" />
|
<field name="family_id"
|
||||||
|
context="{'default_member_ids': [(4, partner_id, False)]}"/>
|
||||||
<field name="family_role" />
|
<field name="family_role" />
|
||||||
</field>
|
</field>
|
||||||
<notebook>
|
|
||||||
<page string="Family members">
|
|
||||||
<tree string="Family">
|
|
||||||
<field name="name" />
|
|
||||||
<field name="family_role" />
|
|
||||||
</tree>
|
|
||||||
</page>
|
|
||||||
</notebook>
|
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user