Commit c47b904
[IMP] util.uninstall_module: handle order of remval of records
Due to the SQL constraints (`ON DELETE RESTRICT`), some records needs to
be remove before others.
closes #148
Signed-off-by: Christophe Simonis (chs) <chs@odoo.com>
Co-authored-by: Nicolas Seinlet <nse@odoo.com>
Co-authored-by: Alvaro Fuentes <afu@odoo.com>1 parent 30a83e5 commit c47b904
1 file changed
+10
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
147 | 152 | | |
148 | 153 | | |
149 | 154 | | |
| |||
156 | 161 | | |
157 | 162 | | |
158 | 163 | | |
159 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
160 | 167 | | |
161 | | - | |
| 168 | + | |
162 | 169 | | |
163 | 170 | | |
164 | 171 | | |
| |||
168 | 175 | | |
169 | 176 | | |
170 | 177 | | |
171 | | - | |
172 | | - | |
173 | 178 | | |
174 | 179 | | |
175 | 180 | | |
| |||
179 | 184 | | |
180 | 185 | | |
181 | 186 | | |
182 | | - | |
183 | | - | |
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
| |||
0 commit comments