[MERGE] [FIX] property fields: in _fnct_write call, make sure the removal of older...
authorMartin Trigaux <mat@openerp.com>
Thu, 13 Feb 2014 13:48:38 +0000 (14:48 +0100)
committerMartin Trigaux <mat@openerp.com>
Thu, 13 Feb 2014 13:48:38 +0000 (14:48 +0100)
commit11c7e85a853c0f22bb4cd4fe3c032e37e2fcc4ab
tree44e00f68aa6a462a90e70e96a07d7410a956a563
parent6e99d7a6cbef2d2e56f4052f73660462b7c31e09
parent7b41032e2a37ef9c5106772075adbeee257bd117
[MERGE] [FIX] property fields: in _fnct_write call, make sure the removal of older properties applies only to current company and not to any properties found by the user. (opw 592328)

This was problematic when the admin or a mutlicompany user in parent company set a value for a property field on any record shared through companies. The change would remove the property already set on child companies instead of only replacing the current value.

The test requires previous revision (rev-id mat@openerp.com-20140213121853-mbbk6pkya92hy4xd) of server to avoid commiting changes in _field_create call.

bzr revid: mat@openerp.com-20140213134838-sia2s9vybq5oep65