On change method doesn't update inline editing read only value
Bug #1153853 reported by
Ignas Karpiejus @ hbee
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Opinion
|
Undecided
|
OpenERP Publisher's Warranty Team |
Bug Description
Hello all,
quick description - adding many2one field, defining tree view with editable="bottom" for it and adding on_change function for one of those tree fields to change other read only field, now when it's in form - it shows changed value in read only field, doesn't write, but just shows (I suppose this is the way it was designed), but when editing is done inline it doesn't update (show) the read only field with passed value (seems as a bug to me). Checked with openerp-
Related branches
lp://staging/~credativ/ocb-web/7.0-lp1153853
Rejected
for merging
into
lp://staging/ocb-web
- Holger Brunn (Therp): Disapprove
-
Diff: 49 lines (+19/-5)2 files modifiedaddons/web/static/src/js/view_form.js (+6/-4)
addons/web/static/src/xml/base.xml (+13/-1)
lp://staging/~credativ/openerp-web/7.0-lp1153853
Ready for review
for merging
into
lp://staging/openerp-web/7.0
- OpenERP Core Team: Pending requested
-
Diff: 49 lines (+19/-5)2 files modifiedaddons/web/static/src/js/view_form.js (+6/-4)
addons/web/static/src/xml/base.xml (+13/-1)
tags: | removed: only read |
Changed in openobject-server: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
To post a comment you must log in.
Hello,
I have checked your issue(with latest code) on both scenario with editable list view and form view but readonly field takes the data passed from the onchange, so this is working as expected.
I have also uploaded a video here for reference : http:// youtu.be/ 4vL3oVnq95U
I am setting the bug status to 'Invalid'.
Regards,
Amit