diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-02-22 13:27:46 +0100 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-02-22 16:53:52 +0100 |
| commit | d56d96dc03825308f0a760372dd4f5c8a6157ad6 (patch) | |
| tree | ee2739bc46539e5a746acb1b0b3dbd5269076b45 /addons/web/static/src/js/views/basic | |
| parent | 1753017255f3f078ede05a68842f440e02b64630 (diff) | |
[FIX] *: no concatenation of static and dynamic nocontent helper
* crm, hr_expense, mail
The nocontent helper can be generated either statically (in xml)
or dynamically (in python).
Before this commit, the result of some nocontent helpers was simply
the concatenation of the static and dynamic parts.
Due to recent changes (see https://github.com/odoo/odoo/commit/a87d761fdbf345ada5dc93e0a686b08a0f5a0417),
the nocontent helper has changed so that any of the nocontent helper
parts has to define its style for showing the face (e.g. smiling,
neutral, or folder face).
As a consequence of the changes above, the styles of some
nocontent helper screens were duplicated, e.g. two smiling faces
were shown instead of a single one.
With this commit, most dynamically generated nocontent helpers keep
only the dynamic part, so the static part is usually dropped in this
case.
Exception to above rule:
dyn_help = 'You could also add a new [document_name] by sending an email to [email_link]'
The dynamic part is appended right after the static help message, in its dedicated paragraph.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
