diff options
| author | Dharmraj Jhala <dja@odoo.com> | 2020-01-24 08:48:03 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-01-27 10:09:24 +0000 |
| commit | 9c19db3e35084023960ac67f154be315b3ba5cb0 (patch) | |
| tree | acecddad4cf932e8acbac690cd0edfe4eb681e97 /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | 6f95973484ff1db2f6f4d266157810ec066796be (diff) | |
[FIX] mass_mailing: fix mass mailing creation in non debug mode
Purpose: make `name` a non-required field in form view
Currently `name` field in the mass mailing is visible only in the debug
mode, and is set via create method based on `subject`. If user tries to
create a new mass mailing object in non debug mode, it gives a warning.
This commit fixes the behavior by setting `name` field as non-required
in the form-view and thus avoiding the warning when field is not visible.
It will not cause issue since the `name` field is coming from the model
`utm.source` and is already a required through field definition.
Task 2178214
PR #43709
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
