Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
2595 Zobrazení

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
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

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

Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
led 24
13215
2
pro 23
17985
1
bře 15
6222
2
čvc 21
6552
0
zář 18
2712