diff options
| author | Jérome Maes <jem@openerp.com> | 2017-08-14 11:41:56 +0200 |
|---|---|---|
| committer | Jérome Maes <jem@openerp.com> | 2017-09-14 14:48:07 +0200 |
| commit | 84e96fe7dd2f49f63940a72d0dfa340aedf13dd8 (patch) | |
| tree | cc4986a08f366438b4b0d6165910fc0a45de4c69 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 64c848a0478e57abf4eaae3c3c74d6cc495363ef (diff) | |
[IMP] sale: add name_get and name_search on SO
The goal is to have a name_get for SO returning
a value like 'SO0002 - Michel F.'
To avoid performance problem, the chosen solution
is to add a context key 'sale_show_partner_name' to
provide the partner name in name_get(), otherwise
it will always add it and kill the performance.
This solution is preferred over adding a stored
related field for partner name (trigger recompute
when partner is renamed for all SO is bad).
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
