diff options
| author | Christophe Matthieu <chm@odoo.com> | 2018-08-29 13:48:25 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2018-09-04 19:01:20 +0200 |
| commit | f29df7fb2eed9bee7fa1f3452e1efa26f2dd4fb1 (patch) | |
| tree | 9654828162bd58d5da1f19d55773a1e97b471352 /addons/web/static/src/js/views/basic/widget_registry.js | |
| parent | b67bb599b84093a53fdbd9185ce9cb4b2bbd52ff (diff) | |
[FIX] web: Fixed the printing of reports.
A new exception has been added to detect inconsistent reports. However, many are not structured as expected. Thus, the change consists mainly of checking only when the print has to be separated in part to attach it to the respective documents.
We now take the page tag instead of the article, because the article tag is in the layout, so to separate the file, the t-call had to be inside the t-foreach (for the separation) and so possibly read the assets several times. Since all templates have the first tag (in the t-foreach) tag page, the choice is more sensible.
The javascripts files used in readonly were taken out of the editing assets.
A turn was made but not activated, it works locally, but on the runbot, an error is triggered when generating assets after choosing the settings.
Diffstat (limited to 'addons/web/static/src/js/views/basic/widget_registry.js')
0 files changed, 0 insertions, 0 deletions
