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