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

Hello,

There is a module I am trying to install it gets installed but shows me cancel installation button.

Is there any way to solve this problem or does anyone know why does this happens?

Thanks in advance.

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

I had the same problem, with very similar behavior. In my case it did not install, but it showed no error and the 'cancel installation' button appeared. I solved it when I added the module that the one you are installing depends on to the project. Check if the dependencies are in the project.

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

Hello asma,


'Cancel Install' button appears If a module installation fails at any point, Odoo will roll back any potential changes. So module remains completely uninstalled, but the state of the module is "To Install", which is why you see the option to "Cancel Install". "Cancel Install" only means to unmarked the module to be installed whenever another module is installed or whenever the server restarts.


We can manually run the test cases to find the problem.


Here is a reference for how to run the test cases: https://www.cybrosys.com/blog/how-to-test-odoo-modules#:~:text=How%20To%20Run%20Test%20Cases,update%20or%20install%20the%20modules.

I hope this will help you.
Thanks & Regards,
Email:    odoo@aktivsoftware.com     

Skype: kalpeshmaheshwari

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

Hi,

If there is something wrong with the module, it goes to Cancel Install State and show this button. So i will recommend you to cross check the code.

Thanks

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

Thanks,

I'll go through it again.

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 24
1415
2
ก.ค. 20
4184
1
ม.ค. 20
2694
Creating module problem แก้ไขแล้ว
1
ธ.ค. 19
3126
0
ก.พ. 16
4228