summaryrefslogtreecommitdiff
path: root/addons/mass_mailing/controllers
diff options
context:
space:
mode:
authorPatrick Hoste <pko@odoo.com>2020-04-06 08:47:49 +0000
committerThibault Delavallée <tde@odoo.com>2020-05-18 08:11:58 +0000
commit59265847aa1a9d94c00daa7352f9fb693f594ea9 (patch)
tree17ab875fe8e09ccfbb13c34c7db65f8f3d864b16 /addons/mass_mailing/controllers
parent4476638931800338c09497eb92cfa7ea36d300fa (diff)
[REF] website_slides: move from onchange / default to stored editable computed field
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. SPECIFICATIONS: WIZARD CLEANING Remove email_from and author_id fieles defined on invite wizard. Those are not used in this wizard (not available in view) and default value is to use current user. We can simplify this wizard model by removing them. LINKS Task ID : 2229048 PR : #49040 Related: odoo/upgrade#1198 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/mass_mailing/controllers')
0 files changed, 0 insertions, 0 deletions