Skip to Content
Menu
This question has been flagged
3 Replies
2323 Views

Hi,
I get the following error when there is a conflict in the appointments and one cannot view the project details. How to rectify this in the front end without rescheduling the appointment?

OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)
    at handleError (https://servicum-gmbh.odoo.com/web/assets/1295562/web.assets_web.min.js:916:101)
    at App.handleError (https://servicum-gmbh.odoo.com/web/assets/1295562/web.assets_web.min.js:1543:29)
    at Fiber._render (https://servicum-gmbh.odoo.com/web/assets/1295562/web.assets_web.min.js:941:19)
    at Fiber.render (https://servicum-gmbh.odoo.com/web/assets/1295562/web.assets_web.min.js:939:6)
    at ComponentNode.initiateRender (https://servicum-gmbh.odoo.com/web/assets/1295562/web.assets_web.min.js:1007:47)

Caused by: EvalError: Can not evaluate python expression: (bool((planned_date_end == False) and (planned_date_begin == False)))
Error: Name 'planned_date_end' is not defined
    at evaluateExpr (https://servicum-gmbh.odoo.com/web/assets/1295562/web.assets_web.min.js:3031:54)
    at ProjectTaskFormRenderer.evaluateBooleanExpr (https://servicum-gmbh.odoo.com/web/assets/1295562/web.assets_web.min.js:3034:8)
    at ProjectTaskFormRenderer.template (eval at compile (https://servicum-gmbh.odoo.com/web/assets/1295562/web.assets_web.min.js:1501:374), :1006:28)
    at App.callTemplate (https://servicum-gmbh.odoo.com/web/assets/1295562/web.assets_web.min.js:1164:129)
    at ProjectTaskFormRenderer.template (eval at compile (https://servicum-gmbh.odoo.com/web/assets/1295562/web.assets_web.min.js:1501:374), :10:12)
    at Fiber._render (https://servicum-gmbh.odoo.com/web/assets/1295562/web.assets_web.min.js:940:96)
    at Fiber.render (https://servicum-gmbh.odoo.com/web/assets/1295562/web.assets_web.min.js:939:6)
    at ComponentNode.initiateRender (https://servicum-gmbh.odoo.com/web/assets/1295562/web.assets_web.min.js:1007:47)


Avatar
Discard
Author Best Answer

Found out. The error was because of the unupdated translations of the project model.

Avatar
Discard
Best Answer

Hello,

Indeed I had to remove the planned end date of the subproject to enable user access it.

Any input to understand how to avoid replicate of this error?

The error has been fixed globally?

Avatar
Discard
Author

Hi,
I just imported the new trasnlation in the front end and it worked.

Best Answer

Hi,
Did you add any computed field or automated action in the db from the user interface ? If yes, check the usage of (bool((planned_date_end == False) and (planned_date_begin == False)))   and see if the python code is written properly
 
Thanks

Avatar
Discard
Related Posts Replies Views Activity
4
Jan 24
13001
2
Dec 23
17761
1
Mar 15
6085
2
Jul 21
6375
0
Sep 18
2563