This question has been flagged
2 Replies
2807 Views

Hello, For some time now, odoo returns an error when selecting a Quotation template while creating quotes in the sales module.

The error only appears with new quotes. If I edit the quote that was created before the error appeared, you can change the template without error.

I did not install new modules, nor did I make configuration changes that could affect it.

The full text of the error below.

 


Uncaught TypeError: o.replace is not a function
https://xx.com/web/content/25026-062bb19/web.assets_backend.js:3545
Traceback:
TypeError: o.replace is not a function
    at https://xx.com/web/content/25026-062bb19/web.assets_backend.js:3545:5623
    at Aw.<anonymous> (https://xx.com/web/content/25026-062bb19/web.assets_backend.js:3545:6717)
    at kg.c.fire (https://xx.com/web/content/25026-062bb19/web.assets_backend.js:3509:183092)
    at Aw.fire (https://xx.com/web/content/25026-062bb19/web.assets_backend.js:3509:183604)
    at bw (https://xx.com/web/content/25026-062bb19/web.assets_backend.js:3509:327179)
    at Aw.setContent (https://xx.com/web/content/25026-062bb19/web.assets_backend.js:3509:334681)
    at Class.reset (https://xx.com/web/content/25026-062bb19/web.assets_backend.js:3616:59)
    at https://xx.com/web/content/25026-062bb19/web.assets_backend.js:1559:237
    at Function._.each._.forEach (https://xx.com/web/content/19216-2fd958a/web.assets_common.js:12:558)
    at Class.confirmChange (https://xx.com/web/content/25026-062bb19/web.assets_backend.js:1559:78)

 Odoo v12 community eddition. 
 

I also tried updating odoo to the latest github version

Avatar
Discard

Just try to reproduce the issue in github, if you get it there,its the issue with odoo, if not you have to cross check, if there is any custom codes, chance for them to cause the issue ? also you can check in a new db, checking in a private window etc

@Niyas Do mean runbot instead of github?