Forward-port is disabled, merged pull requests will not be forward-ported.
odoo/odoo#223822
Created by fw-bot
Merged
at 9ea48019a95ed38eaef8b2894ae09090d0369729
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- ci/l10n: (runtime 16s)
- label
- odoo-dev:master-18.0-opw-4917471-huvw-457875-fw
- head
- 6252b0028978e2c86a7a863b35af44dcd806cb20
- merged
- 8 months ago by Bugfix, Hubert Van De Walle
| odoo/odoo | |
|---|---|
| 18.0 | #222595 |
| saas-18.2 | #222815 |
| saas-18.3 | #222849 |
| saas-18.4 | #223797 |
| 19.0 | |
| saas-19.1 | |
| saas-19.2 | |
| saas-19.3 | |
| master | #223822 |
[FIX] account: don't remove readonly for every field
Steps to reproduce
- Go to invoices
- Open studio
- Click on the invoice lines
- Edit the list view
- Add a new field of type checkbox
- Mark that field as readonly
- Exit studio
- Open an invoice
- Click on the checkbox
=> The form is marked as dirty and the checkbox is toggled
Cause of the issue
291518a7e7708690d183b9d1ca53c84d0c56ad90
If the state is not in ["cancel", "done", "posted"], the fields are never in readonly
Solution
Only do this for the "name" and "product_id" fields