~openerp-connector-core-editors/openerp-connector/7.0

Viewing all changes in revision 604.

  • Committer: Guewen Baconnier
  • Date: 2014-01-14 10:04:30 UTC
  • mfrom: (591.1.12 openerp-connector)
  • Revision ID: guewen.baconnier@camptocamp.com-20140114100430-rrddfowi0n0k34zj
[ADD] Added the possibility to use modifiers functions in the 'direct' mappings.

It allows to reduce the code in the @mappings methods as common modifiers can
be used. The change also include 3 modifiers: one for converting the type of
the source field, one for getting the binding or openerp id of a backend field,
one for getting the backend id of an openerp id or binding id.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: