Planejamento¶
O Odoo Planejamento permite planejar a programação da sua equipe e gerenciar turnos e recursos.
O planejamento de equipes tem requisitos específicos que podem variar muito, dependendo das necessidades do seu negócio. Os seguintes conceitos foram introduzidos no Odoo Planejamento para atender a essas necessidades:
Os turnos são despachados para recursos, que podem ser humanos (funcionários) ou materiais (ex.: equipamentos). Os recursos são atribuídos a funções, o que permite a organização do trabalho dentro da equipe.
Depois que a configuração inicial é feita, o planejamento de turnos pode ser feito manualmente ou automatizado usando o recurso Planejamento automártico.
Uma integração entre os aplicativos de Planejamento e Vendas permite a vinculação de serviços vendidos a funções e turnos no Planejamento. Além disso, a integração com o app Projetos permite dedicar turnos, e, portanto, tempo e recursos, a projetos específicos.
Veja também
Tutoriais do Odoo: Planejamento <https://www.odoo.com/slides/planning-60>`_
Configuração¶
Funções¶
Para definir as funções que seus recursos desempenham (ex.: chefe de cozinha, barman, garçom), vá para , clique em Novo e preencha o Nome (ex.: assistente, recepcionista, gerente). Em seguida, escolha os Recursos que desempenharão essa função. Os recursos podem ser funcionários ou materiais.
Nota
Se o aplicativo Vendas estiver instalado em sua base de dados, o campo Serviços será exibido, permitindo que você especifique quais funções são necessárias para executar os serviços, de modo que os turnos sejam despachados para a pessoa certa.
As funções são levadas em consideração ao usar o recurso Plamejamento automático.
Campos de propriedade e funções¶
Os campos de propriedade permitem que você adicione campos personalizados a formulários em vários aplicativos do Odoo. O planejamento inclui a possibilidade de adicionar campos de propriedade vinculados a funções a turnos.
To create a property field, switch to the list view from any schedule. From there, click View on the shift that you wish to edit. If the Role field is empty, fill it in with the desired role, then click the cog icon and select Add Properties. Configure the new field according to your needs.
O campo de propriedade está vinculado à função e é incluído no formulário de turno de todos os turnos executados por essa função.
Example
Alguns dos casos de uso dos campos de propriedade de função incluem:
Credenciais: para funções que exigem uma permissão específica (ex.: carteira de motorista)
Localização: em empresas que operam em vários locais (ex.: lojas ou restaurantes)
Idioma: em um ambiente multilíngue (ex.: empresa de consultoria)
Funcionários¶
Todos os funcionários podem ser incluídos no planejamento e nos turnos atribuídos.
Para adaptar as configurações de planejamento do funcionário, vá para e escolha o funcionário para o qual deseja editar as configurações. Em seguida, vá para a aba Informações profissionais.
Dica
Você pode fazer o mesmo no aplicativo Funcionários, que é instalado por padrão junto com Planejamento.
Duas seções da aba Informações profissionais do funcionário têm impacto no Planejamento: Agendar (ou seja, o campo Horário de trabalho) e Planejamento.
Horário de trabalho¶
O Horário de trabalho é levado em consideração quando o tempo alocado e sua porcentagem são calculados para turnos. Se o campo horas de trabalho for deixado em branco, considera-se que o funcionário está trabalhando em horários flexíveis.
Para criar um horário de trabalho individual, por exemplo, para funcionários que trabalham em meio período, clique em Pesquisar mais… e, em seguida, em Novo.
Nota
O horário de trabalho e o tempo alocado em Planejamento podem afetar a Folha de pagamento, se o contrato do funcionário estiver configurado para gerar entradas de trabalho com base em turnos.
Veja também
Funções de planejamento¶
Quando um funcionário tiver uma ou mais Funções:
Ao criar um turno para esse funcionário, somente os modelos de turno das funções escolhidas nesse campo são exibidos.
Quando uma escala é publicada, o funcionário só é notificado sobre os turnos abertos para as funções que lhe foram atribuídas.
Ao atribuir automaticamente turnos abertos ou planejar pedidos de vendas, o funcionário só recebe turnos para as funções atribuídas a ele.
Além disso, quando uma Função padrão é definida:
Ao criar um turno para o funcionário, a função padrão é automaticamente selecionada.
Essa função também tem precedência sobre as outras funções do funcionário ao atribuir automaticamente turnos abertos ou planejar pedidos de vendas.
Nota
If the Planning roles fields are left empty, there are no restrictions in the shift templates and open shifts shared with the employee. However, it’s not possible to use the Auto Plan feature for employees with no roles.
Materiais¶
Materiais são recursos aos quais podem ser atribuídos turnos e horas de trabalho, mas não são funcionários. Por exemplo, uma empresa de construção pode usar materiais para criar turnos para máquinas compartilhadas (ex.: guindastes, empilhadeiras).
Da mesma forma que os funcionários, os materiais podem ter funções e horas de trabalho atribuídos.
Modelos de turnos¶
To create a shift template, click New on any schedule, then fill in the details of the shift, and click Save Template.
Alternatively, go to , then click New. Fill in the Start & End Hours and the shift’s Span, then assign a Role.
If the Project app is installed, a Project can also be selected.
Planejamento de turnos¶
On opening the Planning app, the users see their own schedule. Users with administrator access rights can also see the schedule By Resource, By Role, By Project, and By Sales Order, as well as reporting and configuration menus.
Nota
The schedule is displayed in the Gantt view, which allows you to reassign, reschedule, resize, split, and duplicate shifts without having to open them.
Os seguintes elementos visuais são usados nos turnos das programações:
Full color: shifts that are planned and published.
Diagonal stripes: shifts that are planned but have yet to be published.
Grayed-out background: employees who are on time off.
Barra de progresso: turnos em andamento com planilhas de horas vinculadas a eles.
Turno acinzentado: ao copiar turnos, os turnos copiados são mostrados em cores, enquanto os turnos existentes anteriormente são temporariamente acinzentados. A cor volta a ser colorida ou com listras diagonais na próxima atualização da página ou ao remover o filtro.
Create shifts¶
Para criar um turno, vá para qualquer cronograma e clique em Nono. Na janela pop-up que se abre, preencha os seguintes detalhes:
Templates: If there is one or more shift templates existing in the database, they are displayed in the upper section of the pop-up window. Once selected, a template prefills the shift form accordingly.
Resources: Resources can be both employees or materials. If this field is left empty, the shift is considered an open shift.
Date: Choose the date and time of the shift. This is the only mandatory field when creating a shift.
Repeat: Click the (repeat) button and configure the Repeat every fields as needed. The following rules apply to recurring shifts:
Todos os campos (ex.: Recurso, Função, Projeto) são copiados do turno original, exceto a data, que é ajustada de acordo com o campo Repetir a cada.
As recorrências são planejadas, mas não publicadas.
By default, planned shifts are created six months in advance, after which they are created gradually. To change the time frame, activate the developer mode, then go to and edit the Recurring Shifts.
Allocated Time: Is calculated based on the shift’s date and time, and the employee’s Working Schedule.
Role: Select the role that the assigned resources will be performing. This field is especially useful when auto-planning shifts. Once you select a role, the shift templates associated with it are displayed in the upper section of the pop-up window.
Additionally, the following fields may also be available:
Project: If the Project planning setting is enabled in the Planning settings, select the relevant project to link to the shift. Shifts dedicated to the selected project are then planned and tracked accordingly.
Task: If a project is selected, optionally select a task within that project.
Sales Order: If the Sales app is installed, select the relevant sales order to link to the shift.
Customer: If the shift is an on-site intervention, select the relevant customer to link to the shift.
Worksheet: If field service worksheets are configured, optionally select the relevant worksheet template.
Click Save to create the shift, or Publish to create it and notify the assigned employee by email.
Create shifts from sales orders¶
Shifts are created automatically from sales orders containing products configured as follows:
Product Type: Set to Service.
Plan Services: Enable the checkbox, then select the relevant role.
Once the sales order is confirmed, schedule the shift:
Click the To Plan smart button on the sales order form.
Click the relevant day in the appropriate resource’s schedule.
Nota
Only resources whose role matches the role configured for the product on the sales order are available for shift assignment.
Select the relevant shift from the list of open shifts for that role.
Publish the shift.
Dica
To edit the shift before planning it, on the Schedule by Resource view:
either click New;
or click the relevant day in the appropriate resource’s schedule, then click Create New.
Then, edit the fields as needed and Save the shift or Publish it.
Once shifts have been planned for the sales order, click the Planned smart button on the sales order form to view them.
Edit and delete shifts¶
To edit a shift, click it in the calendar or schedule, then click Edit.
Shifts can also be adjusted directly on the schedule, without opening them:
Reassign or reschedule a shift by dragging and dropping it to the desired employee and day.
Extend a shift over several days by hovering over the right edge of the shift block. When the cursor changes into a resize pointer, click and drag the edge to the desired day.
Split a shift spanning multiple consecutive days into two segments by hovering over the boundary between the two affected day columns, then clicking the (scissors) icon.
To delete a shift, click it in the schedule, then click Delete.
Dica
Alternatively, the shift form can be accessed by switching to the list view and clicking View on the relevant shift’s line, or by switching to the Kanban view and clicking the relevant shift’s card.
Publish shifts¶
Publishing shifts notifies the assigned employees by email and makes the schedule visible to all users, including those without Administrator Planning access rights (via ).
Shifts can be published individually or in bulk.
To publish an individual shift:
either click Publish at the end of the shift creation process;
or click the shift in the schedule, click Edit, then click Publish on the shift form.
To publish all planned shifts:
From any schedule, click Publish.
In the pop-up, optionally edit the Period.
Disable Include Open Shifts to exclude open shifts from the publication.
Optionally edit the list of employees; removing an employee from the list excludes their shifts from this publication.
Click Publish & Send.
Employees are notified of their shifts once they are published:
Os funcionários sem contas de usuário são redirecionados para um Portal de planejamento dedicado.
Employees with a user account are redirected to the My Planning view.
Nota
If the email address of one or more employees in the list has not been configured, enter their Work Email in the pop-up that opens, then click Save & Send Schedule. If the missing email addresses are not added, the corresponding employees’ schedules are not published.
Unpublished shifts are only visible on schedules for users with Administrator Planning access rights and are identified by diagonal lines.
Turnos abertos e planejamento automático¶
The Auto Plan button allows you to assign Open shifts (shifts with no resource assigned) and create and assign shifts linked to sales orders or project tasks.
Os seguintes recursos têm impacto no planejamento automático:
Roles: Open shifts are only assigned to resources (employees or materials) that have the corresponding role assigned. It is not possible to use the Auto Plan feature for employees with no role.
Funções padrão: A função padrão atribuída a um recurso tem prioridade sobre as outras funções que foram atribuídas a ele.
Conflitos: Os funcionários ou materiais não podem ser atribuídos a vários turnos ao mesmo tempo.
Time off: The employees’ time off is taken into account, as well as public holidays.
Working hours: Are taken into account when assigning shifts to employees or materials. It is not possible to use the Auto Plan feature for an employee who is working flexible hours.
Contracts: If the employee has an active contract, they won’t be assigned shifts that fall outside of their contract period.
Clique em Publicar para confirmar a programação e notificar os funcionários sobre seu planejamento.
Trocar turnos e retirar atribuições¶
Dois recursos estão disponíveis para permitir que os funcionários façam alterações em suas programações: troca de turnos e retirar atribuições.
Nota
Esses recursos são mutuamente exclusivos. A troca de turnos é possível por padrão e não pode ser desativada. No entanto, quando o recurso Permitir retirar atribuição for ativado, ele substituirá a opção de troca de turnos.
Troca de turnos¶
Quando os turnos são planejados e publicados, os funcionários recebem uma notificação por e-mail. Se um funcionário quiser trocar um turno, ele poderá clicar no turno indesejado e clicar em Pedir para trocar.
O turno continua atribuído ao funcionário original, mas no cronograma, uma notificação informando que o funcionário atribuído gostaria de trocar de turno fica visível no turno.
O turno é então exibido para outros funcionários que compartilham a mesma função e, se eles quiserem atribuí-lo a si mesmos, poderão clicar no botão Eu assumo.
Nota
As seguintes regras se aplicam:
Somente os turnos que correspondem às funções do funcionário são exibidos como disponíveis para ele.
Switching shifts is not available for shifts in the past.
Retirar atribuição¶
Para permitir que os funcionários retirem atribuições de turnos, vá para e marque a caixa de seleção Permitir retirar atribuição. Em seguida, especifique o número máximo de dias que os funcionários podem retirar a atribuição antes do turno.
Quando os turnos são planejados e publicados, os funcionários recebem uma notificação por e-mail. Se for permitido retirar a atribuição de turnos, os funcionários poderão clicar no botão Estou indisponível e o turno será revertido para um turno aberto.
Nota
As seguintes regras se aplicam:
Somente os turnos que correspondem às funções do funcionário são exibidos na escala deles.
Unassigning shifts is not available for shifts in the past.