Skip to content

Commit 87ddc04

Browse files
committed
[IMP] move diagnostics OLS03*
1 parent 2e82e56 commit 87ddc04

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

server/src/core/diagnostic_codes_list.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,14 @@ OLS03022, DiagnosticSetting::Error, "Inverse field is not a Many2one field",
173173
*/
174174
OLS03023, DiagnosticSetting::Error, "Inverse field {0} is not pointing to the current model {1}, but rather to {2}",
175175
/**
176+
* Form is no longer available on odoo.tests.common, thus it should not be imported from there.
177+
*/
178+
OLS03301, DiagnosticSetting::Warning, "Deprecation Warning: Since 17.0: odoo.tests.common.Form is deprecated, use odoo.tests.Form",
179+
/**
180+
* Deprecation Warning
181+
*/
182+
OLS03302, DiagnosticSetting::Warning, "The active key is deprecated",
183+
/**
176184
* A __manifest__.py file should be evaluated with a literal_eval to a single dictionary.
177185
* Do not store any other information in it.
178186
*/
@@ -223,14 +231,6 @@ OLS04011, DiagnosticSetting::Error, "Do not use dict unpacking to build your man
223231
*/
224232
OLS04012, DiagnosticSetting::Error, "Module dependency: module {0} depends on current module",
225233
/**
226-
* Form is no longer available on odoo.tests.common, thus it should not be imported from there.
227-
*/
228-
OLS03301, DiagnosticSetting::Warning, "Deprecation Warning: Since 17.0: odoo.tests.common.Form is deprecated, use odoo.tests.Form",
229-
/**
230-
* Deprecation Warning
231-
*/
232-
OLS03302, DiagnosticSetting::Warning, "The active key is deprecated",
233-
/**
234234
* Parsing error in XML file
235235
*/
236236
OLS05000, DiagnosticSetting::Error, "Unable to parse XML file: {0}",

0 commit comments

Comments
 (0)