Skip to content

Commit 963cd1f

Browse files
committed
[IMP] tests for OLS03016
1 parent b4cde5c commit 963cd1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/tests/data/addons/module_1/models/diagnostics.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ class ModelWithDiagnostics(models.Model):
1010
test_models = fields.One2many("pygls.tests.base_test_model", "diagnostics_id")
1111
test_models_wrong_dep = fields.One2many("module_2.custom_model", "diag_id") # OLS03015, OLS03021
1212
test_models_wrong_dep_kw = fields.One2many(comodel_name="module_2.custom_model", inverse_name="diag_id") # OLS03015, OLS03021
13+
test_no_model = fields.Many2one("non.existent.model") # OLS03016
14+
test_no_model_kw = fields.Many2one(comodel_name="non.existent.model") # OLS03016
1315
date = fields.Date()
1416

1517
to_compute = fields.Integer(compute="_compute_field")

0 commit comments

Comments
 (0)