lost value returned from onchange when readonly field
Bug #1126417 reported by
Cristian Salamea
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
New
|
Critical
|
Unassigned |
Bug Description
Hello,
When a value is returned from on_change method to set in readonly field in UI is showed but when save the record this values are lost.
The only solution is copy and paste the code from onchange method to create method what I consider a bad practice and waste time for developers.
Please fix this, the error comes from v.5, v6 v6.1, v7.0
Regards,
To post a comment you must log in.
A solution is also to have two fields to do that : one visible to display the value and one with invisible="1" to save the value.
But I'm agree with you, this issue should be fixed.