Merge lp://staging/~openerp-dev/openerp-web/6.1-opw-574907-msh into lp://staging/openerp-web/6.1
Proposed by
Mohammed Shekha(Open ERP)
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Xavier (Open ERP) | ||||
Approved revision: | 2347 | ||||
Merged at revision: | 2349 | ||||
Proposed branch: | lp://staging/~openerp-dev/openerp-web/6.1-opw-574907-msh | ||||
Merge into: | lp://staging/openerp-web/6.1 | ||||
Diff against target: |
27 lines (+9/-2) 1 file modified
addons/web/static/src/js/chrome.js (+9/-2) |
||||
To merge this branch: | bzr merge lp://staging/~openerp-dev/openerp-web/6.1-opw-574907-msh | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Xavier (Open ERP) (community) | Approve | ||
Mohammed Shekha(Open ERP) (community) | Needs Resubmitting | ||
Review via email: mp+106762@code.staging.launchpad.net |
Description of the change
Hello,
Fixed the issue of database creation with the same name which is already exist, currently this is giving traceback instead of giving a user friendly message.
Thanks.
To post a comment you must log in.
* Missing translation marks (also please use double quotes for human-readable messages) on title and error message, also human-readable messages should use _.str.sprintf to allow correct full translation. Also fix capitalization, not all words need to start with capital letter in error messages
* Incorrect indentation and missing semicolons
* Do not do manual fetch of values when there already is `serializeArray` call, extract existing calls to `to_object()` into a variable (are two of it), this creates a map of {field: value} which can then be directly indexed
* Avoid jquery's utility functions when there is equivalent behavior in underscore.js, here `jQuery.inArray` should not be used, but should use `_.contains`