diff options
| author | Denis Ledoux <dle@odoo.com> | 2017-02-03 11:15:21 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2017-02-03 11:19:01 +0100 |
| commit | 9c96631ddeb017c8d016ee6fafabc170bfcebfa8 (patch) | |
| tree | 76824386033fd8795e03e33e4c7e48ce8a39cabc /addons/web/static/src/js | |
| parent | 01ac5949ef4ec89dc766674ab5c3fa6056010e68 (diff) | |
[FIX] report: associated views with report name without dots
When setting a report with a `report_name` without dots,
the associated views button raised an exception.
This has been introduced during the migration to the new API
at revision 47c67b640b0d95a7df58485923abfc0794902d87
Before, a try/except made sure the exception to not raise
the exception in case the report name could not be split
in two parts.
In this revision, instead of doing the try/except,
we check if the result of the split has a minimum
length of 2.
opw-706343
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions
