|
@ -19,10 +19,12 @@ |
|
|
<group attrs="{'invisible': [('is_company', '=', True)]}"> |
|
|
<group attrs="{'invisible': [('is_company', '=', True)]}"> |
|
|
<field name="lastname" attrs= |
|
|
<field name="lastname" attrs= |
|
|
"{'required': [('firstname', '=', False), |
|
|
"{'required': [('firstname', '=', False), |
|
|
('is_company', '=', False)]}"/> |
|
|
|
|
|
|
|
|
('is_company', '=', False), |
|
|
|
|
|
('type', '=', 'contact')]}"/> |
|
|
<field name="firstname" attrs= |
|
|
<field name="firstname" attrs= |
|
|
"{'required': [('lastname', '=', False), |
|
|
"{'required': [('lastname', '=', False), |
|
|
('is_company', '=', False)]}"/> |
|
|
|
|
|
|
|
|
('is_company', '=', False), |
|
|
|
|
|
('type', '=', 'contact')]}"/> |
|
|
</group> |
|
|
</group> |
|
|
</xpath> |
|
|
</xpath> |
|
|
</data> |
|
|
</data> |
|
@ -47,10 +49,12 @@ |
|
|
<group attrs="{'invisible': [('is_company', '=', True)]}"> |
|
|
<group attrs="{'invisible': [('is_company', '=', True)]}"> |
|
|
<field name="lastname" attrs= |
|
|
<field name="lastname" attrs= |
|
|
"{'required': [('firstname', '=', False), |
|
|
"{'required': [('firstname', '=', False), |
|
|
('is_company', '=', False)]}"/> |
|
|
|
|
|
|
|
|
('is_company', '=', False), |
|
|
|
|
|
('type', '=', 'contact')]}"/> |
|
|
<field name="firstname" attrs= |
|
|
<field name="firstname" attrs= |
|
|
"{'required': [('lastname', '=', False), |
|
|
"{'required': [('lastname', '=', False), |
|
|
('is_company', '=', False)]}"/> |
|
|
|
|
|
|
|
|
('is_company', '=', False), |
|
|
|
|
|
('type', '=', 'contact')]}"/> |
|
|
</group> |
|
|
</group> |
|
|
</div> |
|
|
</div> |
|
|
</xpath> |
|
|
</xpath> |
|
@ -71,10 +75,12 @@ |
|
|
<group attrs="{'invisible': [('is_company', '=', True)]}"> |
|
|
<group attrs="{'invisible': [('is_company', '=', True)]}"> |
|
|
<field name="lastname" attrs= |
|
|
<field name="lastname" attrs= |
|
|
"{'required': [('firstname', '=', False), |
|
|
"{'required': [('firstname', '=', False), |
|
|
('is_company', '=', False)]}"/> |
|
|
|
|
|
|
|
|
('is_company', '=', False), |
|
|
|
|
|
('type', '=', 'contact')]}"/> |
|
|
<field name="firstname" attrs= |
|
|
<field name="firstname" attrs= |
|
|
"{'required': [('lastname', '=', False), |
|
|
"{'required': [('lastname', '=', False), |
|
|
('is_company', '=', False)]}"/> |
|
|
|
|
|
|
|
|
('is_company', '=', False), |
|
|
|
|
|
('type', '=', 'contact')]}"/> |
|
|
</group> |
|
|
</group> |
|
|
</div> |
|
|
</div> |
|
|
</xpath> |
|
|
</xpath> |
|
|