Browse Source
Merge pull request #63 from nicolasj77/cannot_create_worker_on_shift
[IMP] Cannot create worker on shift
pull/66/head
Nicolas Jamoulle
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
beesdoo_shift/views/task.xml
|
|
@ -98,8 +98,8 @@ |
|
|
|
<field name="task_template_id" /> |
|
|
|
<field name="task_type_id" /> |
|
|
|
<field name="super_coop_id" /> |
|
|
|
<field name="worker_id" /> |
|
|
|
<field name="replaced_id" attrs="{'invisible': [('is_regular', '!=', True)]}" domain="[('working_mode', '=', 'regular')]"/> |
|
|
|
<field name="worker_id" options="{'create': false, 'create_edit': false}"/> |
|
|
|
<field name="replaced_id" attrs="{'invisible': [('is_regular', '!=', True)]}"/> |
|
|
|
<field name="is_regular" attrs="{'invisible': [('working_mode', '=', 'irregular')]}"/> |
|
|
|
<field name="working_mode" invisible="1" /> |
|
|
|
</group> |
|
|
|