diff options
| author | TWA <twa@odoo.com> | 2018-08-06 09:16:47 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2018-10-09 12:29:38 +0000 |
| commit | 4cdc7c565d25bf92f98da7b3f85b256f27a8eb23 (patch) | |
| tree | c5f55a251b9f6b61db3073b13f4371b27a798244 /tests/test_program_rules.py | |
| parent | edaff83894af8e9ff45569a53c0c0f3a80535b28 (diff) | |
[IMP] mail,crm,...: Replace occurences of name_get()[0][1] by display_name
Purpose
=======
display_name is equal to doing name_get()[0][1]
Replacing name_get()[0][1] by display_name could be good for 2 things:
- Uniformization of the code
- Probable optimization if name_get is used inside a for loop on a recordset (as the values will be prefetched and put in the cache).
TaskID: 1849250
closes odoo/enterprise#2515
Diffstat (limited to 'tests/test_program_rules.py')
0 files changed, 0 insertions, 0 deletions
