Commit 937bba3
committed
[IMP] *: Using class name corresponding to odoo models
If the class does not have the correct name, it is possible to force the
model name using `_name`.
In order to minimize changes for migration scripts, the solution of
forcing the `_name` is made instead of correcting the class names.
Related PRs:
odoo/odoo#178200
odoo/enterprise#69762
odoo/documentation#11115
odoo/upgrade#6577
closes #143
Related: odoo/design-themes#988
Signed-off-by: Xavier Morel (xmo) <[email protected]>1 parent 715d65a commit 937bba3
File tree
2 files changed
+7
-3
lines changed- src
- base/0.0.0
- mail/0.0.0
2 files changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | | - | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
0 commit comments