Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1746 Lượt xem

I am trying to update my custom modules but getting this error below. On odoo 18 


TypeError: Cannot read properties of undefined (reading 'send_payment_request')

    at Proxy.pay (http://localhost:8012/web/assets/debug/point_of_sale.assets_prod.js:80786:59) (/point_of_sale/static/src/app/models/pos_payment.js:80)

    at PaymentScreen.sendPaymentRequest (http://localhost:8012/web/assets/debug/point_of_sale.assets_prod.js:85189:46) (/point_of_sale/static/src/app/screens/payment_screen/payment_screen.js:553)

    at PaymentScreen.addNewPaymentLine (http://localhost:8012/web/assets/debug/point_of_sale.assets_prod.js:84780:22) (/point_of_sale/static/src/app/screens/payment_screen/payment_screen.js:144)

    at PaymentScreen.addNewPaymentLine (http://localhost:8012/web/assets/debug/point_of_sale.assets_prod.js:156639:28) (/pos_online_payment/static/src/overrides/pos_overrides/components/payment_screen/payment_screen.js:16)

    at PaymentScreen.hdlr1 (eval at compile (http://localhost:8012/web/assets/debug/point_of_sale.assets_prod.js:13899:20), <anonymous>:24:27) (/web/static/lib/owl/owl.js:5699)

    at Object.mainEventHandler (http://localhost:8012/web/assets/debug/point_of_sale.assets_prod.js:14233:25) (/web/static/lib/owl/owl.js:6033)

    at HTMLDivElement.listener (http://localhost:8012/web/assets/debug/point_of_sale.assets_prod.js:8557:20) (/web/static/lib/owl/owl.js:357)

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,
You have to cross check the custom module and identify from which part of the code the error appears and then need to fix
Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 25
781
0
thg 7 25
518
1
thg 7 25
744
0
thg 6 25
657
1
thg 5 25
1297