~numerigraphe-team/ocb-server/7.0-rml-NumberedCanvas

Viewing all changes in revision 5331.

  • Committer: trp-bzr-bot
  • Author(s): Martin Trigaux
  • Date: 2014-05-09 13:04:12 UTC
  • mfrom: (4825.1.470 staging)
  • Revision ID: mat@openerp.com-20140509130412-hskhafsosr88yhfy
[FIX] ir_values: try to evaluate the given expression before saving it in pickle form (opw 607398)

The value_unpickled given by xml data is usualy already evaluated but when it is given by the web client, a str is recieved by the method (as the field is a text field). In the later case, we need to evaluate the field before storing to be correctly evaluated as a default value.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: