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

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

Avatar
Discard
Best Answer

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 :(

Avatar
Discard
Best Answer

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
1
May 25
843
2
Feb 25
9696
1
Jun 24
1453
1
May 24
1952
0
Feb 20
3