As the employee can only use records from employees and as now, the client manage correctly many2one restricted by domain with the selection widget, it doesn't make sense to use the many2one widget which allow to create instance. review4911002
16 lines
600 B
XML
16 lines
600 B
XML
<?xml version="1.0"?>
|
|
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
this repository contains the full copyright notices and license terms. -->
|
|
<data>
|
|
<xpath expr="/form/notebook/page/separator[@name='signature']"
|
|
position="before">
|
|
<label name="main_company"/>
|
|
<field name="main_company" widget="selection"/>
|
|
<label name="company"/>
|
|
<field name="company" widget="selection"/>
|
|
<label name="employee"/>
|
|
<field name="employee" widget="selection"/>
|
|
<field name="employees" colspan="4"/>
|
|
</xpath>
|
|
</data>
|