diff options
| author | Martin Trigaux <mat@odoo.com> | 2017-03-13 15:56:45 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2017-03-13 16:03:58 +0100 |
| commit | 4c79aa8d9d57a4e7e5cde083d3f8fb755e0a8693 (patch) | |
| tree | 16c49fb39f56f6817fff22df33c1ad92a7d13b7d /addons/web_editor/static/src/js/transcoder.js | |
| parent | 73d6f9023af98f49a38a3a945a263c8382ad13af (diff) | |
[FIX] sale: translate default name at creation
When a sale order is created from the interface, the name field is read-only so
not given in the create call.
However, if the create values are filled with the default value, the string
'New' is translated and the condition is not met in the create method.
This commit makes the create consistent with the default `lambda self: _('New')`
Fixes #15839
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions
