|
@ -105,11 +105,11 @@ |
|
|
attrs="{'invisible': [('is_regular', '!=', True), ('is_compensation', '!=', True)]}"/> |
|
|
attrs="{'invisible': [('is_regular', '!=', True), ('is_compensation', '!=', True)]}"/> |
|
|
<group> |
|
|
<group> |
|
|
<field name="is_regular" |
|
|
<field name="is_regular" |
|
|
attrs="{'invisible': [('working_mode', '=', 'irregular')], 'required':[('is_compensation', '=', False)]}"> |
|
|
|
|
|
|
|
|
attrs="{'invisible': [('working_mode', '!=', 'regular')], 'required':[('is_compensation', '=', False)]}"> |
|
|
Regular shift |
|
|
Regular shift |
|
|
</field> |
|
|
</field> |
|
|
<field name="is_compensation" |
|
|
<field name="is_compensation" |
|
|
attrs="{'invisible': [('working_mode', '=', 'irregular')], 'required':[('is_regular', '=', False)]}"/> |
|
|
|
|
|
|
|
|
attrs="{'invisible': [('working_mode', '!=', 'regular')], 'required':[('is_regular', '=', False)]}"/> |
|
|
<field name="working_mode" invisible="1"/> |
|
|
<field name="working_mode" invisible="1"/> |
|
|
</group> |
|
|
</group> |
|
|
</group> |
|
|
</group> |
|
|