Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

643
Visualizações
Odoo15 | Uncaught Promise Error > deserializeDateTime

I've been developing some modules that extend Sale, Inventory, and MRP (manufacturing) and have been getting this error on occasion.

I've tried clearing my browser's cache but that hasn't worked to address the bug.

As a temporary fix I'll drop my db, create a new one with the same name and then load the modules, but that's not sustainable long term.

Any suggestions on why this issue pops up or how to fix it are greatly appreciated!

Uncaught Promise > deserializeDateTime is not a function
TypeError: deserializeDateTime is not a function
    at new ExpirationPanel (http://localhost:8069/web/assets/138-5429130/web.assets_backend.min.js:9992:157)
    at QWeb.eval (eval at _compile (http://localhost:8069/web/assets/97-5c5a31b/web.assets_common.min.js:1016:178), <anonymous>:34:16)
    at QWeb.fn (http://localhost:8069/web/assets/97-5c5a31b/web.assets_common.min.js:998:173)
    at QWeb.render (http://localhost:8069/web/assets/97-5c5a31b/web.assets_common.min.js:1005:20)
    at HomeMenu.__render (http://localhost:8069/web/assets/97-5c5a31b/web.assets_common.min.js:1334:33)
    at HomeMenu.__prepareAndRender (http://localhost:8069/web/assets/97-5c5a31b/web.assets_common.min.js:1332:29)```
about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

I've the same error with Official Odoo docker the error occurs when I install the Billing application...

I am just starting to develop custom modules so for the moment there is very little code and customs. I will try without custom module to see if the error appears too.

about 4 years ago · Juan Pablo Isaza Relatório

0

Well I think I found a temporary solution. After looking for the deserializeDateTime function on the Odoo repository and enterprise I was able to find where it caused the error.

You have to delete database.expiration_date in ir.config_parameter (Menu technical > system params ) which allows to pass in the else here :

let expirationDate;
if (this.enterprise.expirationDate) {
    expirationDate = deserializeDateTime(this.enterprise.expirationDate);
} else {
    // If no date found, assume 1 month and hope for the best
    expirationDate = DateTime.utc().plus({ days: 30 });
}

I think I should send the error up to get more explanations...

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda