Skip to Content
Menú
This question has been flagged
3 Respostes
2338 Vistes

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
Descartar
Autor Best Answer

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

Avatar
Descartar
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
Descartar
Autor

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
Descartar
Related Posts Respostes Vistes Activitat
4
de gen. 24
13008
2
de des. 23
17765
1
de març 15
6087
2
de jul. 21
6377
0
de set. 18
2565