summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorDharmraj Jhala <dja@odoo.com>2020-01-28 12:00:48 +0000
committerThibault Delavallée <tde@odoo.com>2020-02-11 14:14:19 +0000
commit587a6bd9f6fc1902067b26faa4a731e5c855a38f (patch)
tree2f6c199efb9771082408bc38d6a51ba1f19db1aa /addons/web/static/src/js/fields/basic_fields.js
parentc8e79869a37b87101d64e4703401f409358a2099 (diff)
[IMP] sms: improve SMS preview without existing record behavior and code
This commit clean-ups the code for model `sms.template.preview` which mainly includes the following changes : * remove 'res_id' field and use only the reference field instead; * remove inheritance from `sms.template` as we only need a body field computed based on record and template; * convert onchange of lang / record to compute field for body; * fix 'No Records' warning which previously appeared even if there were records to be previewed (by adding compute field 'no_records'); LINKS TaskID 2180132 Community PR odoo/odoo#44104 Upgrade PR odoo/upgrade#763 Related: odoo/upgrade#763 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions