Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

[RESOLVED] - [Odoo13][Community] - Automatic allocation by month

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
automaticleaveallocation
2 Respostas
11213 Visualizações
Avatar
Odoo_axt

January, the 14th 2020, I have created a month allocation like this:

Allocation Type : Accrual Allocation
Until :

Add 1,00 Day every Month

But at the 1st day of the month (Febuary 1st), this leave allocation is not added to the employees.

Is this leave allocation added at the first day of the month or every month at the created date (in this example 14th day of the month)?

1
Avatar
Cancelar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Melhor resposta

Hello,
Activate Developer mode from general settings.
Go to Settings>Technical>Scheduled Actions.

Check for this scheduled action, this action is responsible for doing this job.

Screenshot from 2020-02-04 11-42-31.png

Here you can see the Next Execution Date, and interval as 'Execute Every'.

[Update]
So when this action runs based on the schedule, it will call the _update_accrual() method.
Screenshot from 2020-02-05 13-04-42.png​

First part of that method.
​
In this method, Odoo takes all the allocations that have nextcall(is a date) set as False or nextcall is less than today along with many other conditions.

When we create a new allocation, nextcall will be False. and odoo will reset nextcall based on the interval(Day/Week/Month) 

So in your case,

You created allocation on 14th Jan, if you created the allocation before 18:00:59, Your allocations nextcall will be on 14th Feb. else Your nextcall will be 15th Feb. 

 You can use 'Run manually' button to run this action manually when ever you wish.

2
Avatar
Cancelar
Avatar
Odoo_axt
Autor Melhor resposta

hi

thx for the answer, i verified the scheduled actions in developper mode. I think this scheduled action is correctly configured :

Model : Time Off Allocation

Scheduler User  : OdooBot

Execute Every :  1 Days

Active : Yes

Next Execution Date : 04/02/2020 18:00:59

Number of calls : -1

Priority :  5

My problem is : if you configured a monthly allocation time off (1 day/month) :

when this allocation is added to the employee? At the first day of the month or at the created date of the automatic allocation (the 14st day off the month in my example)?

1
Avatar
Cancelar
Cybrosys Techno Solutions Pvt.Ltd

Answer updated. Please check

Odoo_axt
Autor

Thx for the anwser and the explanations. Everything is alright, my allocation will be added at 14st day of the month (creation date).

Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
What is the difference bewteen "Leave" and Allocation? Resolvido
hr attendance leave allocation
Avatar
Avatar
Avatar
2
ago. 25
32901
Creating automatic leave allocation based on confirmation date
employee leave allocation ValidationError
Avatar
Avatar
1
jan. 24
3342
Remaining leave shouldn't be carried over to the next year, can it start over?
leave human_resource holiday allocation
Avatar
Avatar
1
out. 18
9500
leave allocation
leave
Avatar
0
fev. 24
1924
Automatic leave approval (depending on type of employee)
management automatic leaves leave approval
Avatar
Avatar
1
nov. 19
4394
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now