Commit 77ca654
The custom invoice number might not be generated until submission.
For einvoice validation to pass during previous draft saves, we need to
fall back to doc.name as long as the custom number is not available.
(cherry picked from commit 7f79976)
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
1 parent d8751d7 commit 77ca654
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | 216 | | |
221 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
222 | 221 | | |
223 | 222 | | |
224 | 223 | | |
| |||
0 commit comments