[FIX] orm: create a foreign key for the function fields of type many2one and store value
[IMP] readability
[MERGE] [FIX] orm: create a foreign key for the function fields of type many2one and store value (opw #604792)
Launchpad automatic translations update.
[FIX] Test for ir_sequence:

This test was depending on the error string returned by postgresql.
As these strings are localized, the test was failing on systems 
where posgresql locale was not set to 'en_US'.

In this new version, we now check the error code returned by postgresql 
(which is, obviously, platform independent)
[REF] Use assertEqual method instead of assert instruction
[MERGE] [FIX] test ir.sequence: when testing the lock mechanism, verify the error based on an error code instead of the error message which is sensible to the locale of the system
Launchpad automatic translations update.
Launchpad automatic translations update.
Launchpad automatic translations update.
[FIX] partner: backport of trunk revision 4882

When adding a new contact or a new company based from the partner form, use the customer value as default value (was doign it only for the supplier flag)
[MERGE] [FIX] [FIX] When adding a new contact or a new company based from the partner form, use the customer value as default value (was doign it only for the supplier flag)

backport of trunk revision 4882 (opw 587764)
[FIX] add the logging handler only to the root logger. let the loggers propagate to allow more than one handler
[MERGE] forward port of branch 7.0 up to revid 5259 chs@openerp.com-20140312171819-bnj3md07w4le2m7m
Merge branch 'master' of bzr::lp:~openerp/openobject-server/saas-2 into rs-ocb-saas-2