~numerigraphe-team/openobject-server/7.0-inventory-dummy-moves-test

Viewing all changes in revision 5295.

  • Committer: Martin Trigaux
  • Date: 2014-05-09 13:04:12 UTC
  • mfrom: (5294.4.1 openobject-server)
  • Revision ID: mat@openerp.com-20140509130412-ki211x7qdccdnv5w
[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: