summaryrefslogtreecommitdiff
path: root/addons/website/static/lib/ckeditor/plugins/bbcode
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-12-18 15:09:17 +0100
committerXavier Morel <xmo@openerp.com>2013-12-18 15:09:17 +0100
commite04983ae69b3efae3f4faccebf31597752d80b52 (patch)
tree4ccc91f915f72ca0b711fa7803e749f59cb26d7f /addons/website/static/lib/ckeditor/plugins/bbcode
parenteb44a6b21ed33dea4c0fe2a4837effbd637ad8be (diff)
[IMP] conversion back from m2o t-field to openerp value
Instead of doing a name_get on the edited value and trying to find out an m2o to assign back (which there's pretty much no chance of given there's no autocompletion or anything), alter the m2o record in-place by setting the provided edited value to its _rec_name. Ideally, both features could be supported via more advanced m2o edition widgets which would allow selecting an existing m2o, creating a new m2o record from scratch or (maybe) editing the existing m2o's display_name if possible, somewhat similar to what the form view provides. Without these though, the only action which makes any sense is to edit the user-visible "value" where it is found, as with more normal fields. bzr revid: xmo@openerp.com-20131218140917-4eo2o55yfcumzhov
Diffstat (limited to 'addons/website/static/lib/ckeditor/plugins/bbcode')
0 files changed, 0 insertions, 0 deletions