odoo/odoo#233602
Created by fw-bot
Merged
at efa6a147062c8ae932db19a6c53a8c0bcc60746b
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:19.0-17.0-repair-fix-serial-number-on-stock-move-loug-473633-fw
- head
- fff93119460b85defc356e28e7cd3926325d6f68
- merged
- 1 week ago by Training, Louis Gobert (loug)
| odoo/odoo | |
|---|---|
| 17.0 | #232973 |
| 18.0 | #233264 |
| saas-18.2 | #233543 |
| saas-18.3 | #233546 |
| saas-18.4 | #233548 |
| 19.0 | #233602 |
| master | #233624 |
[FIX] repair: allow serial number only after save
When creating a repair order, if you add a line and assign a serial
number before saving the line, the serial number is removed when saving.
Steps to reproduce:
- Create a repair order and save it.
- Add a repair line with a product tracked by serial number.
- Without saving the repair order, add a serial number on the line.
- Save the repair order.
- You will notice that the serial number is no longer assigned to the
repair line.
This PR fixes the issue by making the serial number field read-only
until the repair line is saved.