Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
2360 มุมมอง

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)


อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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?

อวตาร
ละทิ้ง
ผู้เขียน

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

คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
unicode decode error แก้ไขแล้ว
4
ม.ค. 24
13012
2
ธ.ค. 23
17767
1
มี.ค. 15
6093
2
ก.ค. 21
6388
0
ก.ย. 18
2577