OCA/connector — pull request #25 by lmignon (2014-10-20 10:22:13+00:00)
Title: [IMP] Call 'only_create' mapping functions only when the mapper is calle...

...d with for_create=True

Some mapping functions can be resource intensive. The change avoids calling functions annotated with 'only_create' if the mapper is not called with for_create=True and thus reduces resource consumption in such cases.