Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
2802 Представления

hi iam using odoo 17,when i try to create new quation in sale.order model it shows an error like,UncaughtPromiseError > OwlError

Uncaught Promise > An error occured in the owl lifecycle (see this Error's "cause" property)

OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)

    at handleError (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:916:101)

    at App.handleError (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:1542:29)

    at ComponentNode.initiateRender (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:1006:19)


Caused by: Error: "sale.order"."purchase_order_count" field is undefined.

    at Field.parseFieldNode (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:7669:231)

    at http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:8546:865

    at visit (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:4227:51)

    at visitChildren (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:4226:171)

    at visit (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:4227:129)

    at visitChildren (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:4226:171)

    at visit (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:4227:129)

    at visitChildren (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:4226:171)

    at visit (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:4227:129)

    at visitChildren (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:4226:171),and when i create new purchase order in purchase.order model it shows an error like,UncaughtPromiseError > OwlError

Uncaught Promise > An error occured in the owl lifecycle (see this Error's "cause" property)

OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)

    at handleError (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:916:101)

    at App.handleError (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:1542:29)

    at ComponentNode.initiateRender (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:1006:19)


Caused by: Error: "purchase.order"."sale_order_count" field is undefined.

    at Field.parseFieldNode (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:7669:231)

    at http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:8546:865

    at visit (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:4227:51)

    at visitChildren (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:4226:171)

    at visit (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:4227:129)

    at visitChildren (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:4226:171)

    at visit (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:4227:129)

    at visitChildren (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:4226:171)

    at visit (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:4227:129)

    at visitChildren (http://localhost:8070/web/assets/dd858b2/web.assets_web.min.js:4226:171),then i uninstall the purchase.order model and reinstalled then error gone is this is the right way to solve this problem? how can i solve without uninstall the purchase.order model

Аватар
Отменить
Лучший ответ

I got a similar error: 

Caused by: Error: "mrp.production"."purchase_order_count" field is undefined.


Fixed by installing module "mrp_subcontracting_purchase", hope it will help you.


If the problem's still there, please install modules starts with 'mrp_' one by one, I am not quite sure which one or some will fix it :(

Аватар
Отменить
Лучший ответ

I had the same issue when installing my customised module, the issue was solved by including the module 'sale_purchase' in the depends area 

Аватар
Отменить
Лучший ответ

Hi,
Remove the view from the db that add purchase_order_count field in sale.order model or install the app that brings this field to sale.order model


Thanks

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
мая 25
1012
2
февр. 25
9811
1
июн. 24
1537
1
мая 24
2058
0
февр. 20
3