Commit f745cf0
committed
[FIX] l10n_ar_ux: avoid error when inheriting portal_my_details_fields if node is missing on install l10n_uy_website_sale
Prevents an error during module installation of l10n_uy_website_sale
does not yet contain the `<label for="vat">` nodes because we where replacing with nothing
Odoo commit:
adhoc-cicd/odoo-odoo@42c43db
Instead of using `position="replace"` (which removes the node and fails if it doesn't exist),
we hide the elements via `position="attributes"` and `class="d-none"`, ensuring backward
compatibility and avoiding inheritance errors.
This prevents installation failures when using an Odoo version prior to that commit.
closes #1141
X-original-commit: 7a4ab2e
Signed-off-by: Felipe Garcia Suez <feg@adhoc.com.ar>
Signed-off-by: rov-adhoc <rov@adhoc.com.ar>1 parent d4cd89f commit f745cf0
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
0 commit comments