summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2021-02-02 08:10:18 +0000
committerThibault Delavallée <tde@odoo.com>2021-02-05 10:27:15 +0000
commit78eb46352efd5c7a6aa6933fd891cb08fafbf679 (patch)
tree76f881cac15392e3ef66b3a0de987777eb5116c1 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parent18cd93ded85d2e62a7839504d6e199859a24344c (diff)
[FIX] crm: split computed fields linked to partner
RATIONALE Stored editable fields receive their values either from compute either from user input. If a user input is given to create / write compute method is not called. If multiple fields are computed through the same method giving one field value discard call to compute method and other fields are not called. SPECIFICATIONS Split ``_compute_partner_id_values`` compute method so that partner related fields are independent : * have a method for address fields as those are computed in group. Indeed either we take all from partner either none. Otherwise it would create mixed addresses that make no sense; * have a specific computation for partner_name and contact_name coming from ``_prepare_partner_values``; * have other fields separated (function, title, ...) acting like related on partner if not set by user; LINKS COM PR odoo/odoo#65381 Task ID-2451339 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions