summaryrefslogtreecommitdiff
path: root/addons/utm/data
diff options
context:
space:
mode:
authorAymane (ayt) <ayt@odoo.com>2020-04-06 14:18:51 +0000
committerThibault Delavallée <tde@odoo.com>2020-05-27 07:22:28 +0000
commite02137c48562d824e3e01054e31dae383e5843e2 (patch)
treeea6f2cf6e02ebe9e6394cb7347dfc4da016f6ce7 /addons/utm/data
parent28655ac9c318a3974c2b52c5216edfc22ade89f6 (diff)
[REF] sms: move composer from onchange / default_get to editable computed fields
PURPOSE Try to move from onchange / default_get to stored editable computed fields. Behavior should be the same (computed or set by user), with support of create / write / onchange field update without additional code. SPECIFICATIONS Update classic fields updated in some cases by onchange and/or default methods by fields with store=True, readonly=False. It means their value comes either from manual user input, either from trigger based computation. Remove onchange and default_get when possible, leading to an unique computation method and clearing fields definition. Also clean some fields definition inconsistencies, notably required fields that should instead be correctly computed or default that have no real meaning. LINKS Task ID 2229050 PR #51159 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com> Co-authored-by: Aymane Taibi <ayt@odoo.com> Co-authored-by: Thibault Delavallée <tde@odoo.com>
Diffstat (limited to 'addons/utm/data')
0 files changed, 0 insertions, 0 deletions