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

Hello. I'm Using Odoo17

I have been developing custom modules to use in a database hosted on Odoo.sh.
I have recently encountered an error: When I try to change the "version" property of the manifest of one of my modules (from 1.2 to 1.3), the build is successful in a dev branch but fails in a staging one.

The error I get from the platform is 

At least one test failed when loading the module (module name)

I have tried viewing the platform-integrated logs for more details but they don't seem to have any information on the error, and I can't replicate it anywhere else.
Any idea of what might be causing this? It is extremely specific and is only happening on one of the three modules I am developing.
The manifest file looks like this:

 "name": "Project extension", 
 "version": "1.3", 
 "summary": "Project extension", 
 "description": "Extension of Project module", 
 "depends": [ "base", "project", ], 
 "data": [
 "views/project_project_views.xml", 
 "views/project_task_views.xml", 
 "security/project.groups.xml", 
 "security/ir.model.access.csv", 
 ], 
 "application": True, 
 "installable": True, 
 "license": "LGPL-3",
}

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

HI,
Are you committing the code changes to development branches ? If yes and if the tests are getting failed there, you have option to disable the execution of test cases from the odoo sh settings.

Thanks

Ảnh đại diện
Huỷ bỏ
Tác giả

Hi. I am having this issue with the staging branch tests, which can not be disabled

Câu trả lời hay nhất

Not sure, but since you are using Odoo Sh you can try to contact with odoo perhaps?

Ảnh đại diện
Huỷ bỏ
Tác giả

I will try contacting support, but since this issue is related to custom modules I thought that maybe this was the place to ask about it

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 24
4066
0
thg 11 24
1667
0
thg 4 24
2197
3
thg 3 24
2315
1
thg 12 23
2686