summaryrefslogtreecommitdiff
path: root/odoo/report/render/html2html
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2017-03-21 16:04:56 +0100
committerNicolas Lempereur <nle@odoo.com>2017-04-26 18:32:18 +0200
commitcd2b07ea44a58f576ce8ca95acca499267afdbbf (patch)
treeb3c8107d739c7b2b257e2823a3e513991ea632f7 /odoo/report/render/html2html
parentec8699db1773381e3e5d6e999d4dee038d2b993c (diff)
[FIX] pad: remove wrong warning at pad creation
When creating a pad before this change these were the steps: - modify pad URL for new pad URL - end of record loading This caused an issue because modifying the record at this point would mark it as dirty before displaying it (which would result in a erroneous warning "The record has been modified, your changes will be discarded. Are you sure you want to leave this page ?"). With this fix: - modifying the pad URL is done after the record is ready - deferred have been unified (to remove possible race conditions) closes #15239 opw-702797 forward port note: this change is needed up to saas-15, over saas-15 only a small part is needed (because x2many views are loaded with the root view and there is one widget instance per record). code note: it would be better to modify load_record of form view and delay `record_loaded` upto after x2many views are loaded, but possible impacts have been judged too risky so this is done only in pad widget.
Diffstat (limited to 'odoo/report/render/html2html')
0 files changed, 0 insertions, 0 deletions