Commit d2de0a8
[IMP] fields: use ignored field for respawn
When a field reappears after an upgrade, a log with the format
"field ... has respawn!" is emited. In some case, it is possible that
this error should be silenced.
The current case was because an upgrade script targeting 18.2 was merged
during the freeze and should target 18.3. During a short time frame
after a freeze, some branch may be tested without testing the upgrade
from the freshly created branch since no template are available.
In this case, a script was merged with an invalid version number. A pull
request (#7240) was created to fix it but it took some time to be merged
and then to be used by latest builds.
An exeption was added in master, fixing the 18.2-> master but this
exception was not working for the 18.*->18.2 error. This commit will
use the same exception to silence this error allowing quick fixes in
this kind of situation.
closes #213
Related: odoo/upgrade#7261
Signed-off-by: Christophe Simonis (chs) <[email protected]>
Co-authored-by: Christophe Simonis <[email protected]>1 parent 0eb4088 commit d2de0a8
1 file changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
43 | 51 | | |
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
47 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
48 | 61 | | |
49 | | - | |
| 62 | + | |
0 commit comments