Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

639
Views
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 answers
Answer question

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!