Commit 42a7952
committed
[IMP] partner_autocomplete: don't save record if not UNSPSC code
The check was incorrect since `Boolean([])` is truthy in JS...
task-none
closes odoo#215210
X-original-commit: f6d07b8
Signed-off-by: Ruben Gomes (rugo) <[email protected]>
Signed-off-by: Ricardo Gomes Rodrigues (rigr) <[email protected]>1 parent af183e7 commit 42a7952
File tree
1 file changed
+1
-1
lines changed- addons/partner_autocomplete/static/src/js
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
0 commit comments