Commit f0f9a08
[FIX] l10n_it_edi_related_document: fix singleton error in inverse method
The _inverse_original_related_document_fields method uses `self` instead
of `record` inside the for loop, causing a "Expected singleton" error
when multiple invoices are created at once.
This was introduced in PR OCA#5046.1 parent aea8dc7 commit f0f9a08
1 file changed
Lines changed: 8 additions & 8 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
| 184 | + | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
0 commit comments