diff options
| author | jerome hanke (jhk) <jhk@odoo.com> | 2020-07-21 20:18:35 +0000 |
|---|---|---|
| committer | jerome hanke (jhk) <jhk@odoo.com> | 2020-07-27 09:39:25 +0000 |
| commit | d6d540a8d594aaa9952b51a1494db09597d64da5 (patch) | |
| tree | 2d41c0b112484c9db122f3258bce42650e831f64 /addons/web/static/src | |
| parent | 7146ee0231e2e3ff45cdb739850acd22e064e44a (diff) | |
[FIX] sale: portal generates pdf for the chatter in a separate request
Steps to reproduce:
- install studio, website and sales
- go to sales > open studio > go to 'reports' > Quotation/Order
- add a field anywhere on the report with the field expression set to
"doc.signature" > save
- go to sles > create a quotation > send by email > send > go to the customer portal
- sign and send the quotation > go back to the edit mode > open the pdf attached
to the latest message in the chatter
Previous behavior:
the custom field added was not rendered properly,
the attachment is not available during the request and the generated
pdf shows the placeholder image instead
Current behavior:
the message posted in the chatter is generated in another request,
this makes the attachment available
opw-2260989
closes odoo/odoo#54955
X-original-commit: a15cbb0a7be666d3ad438f6470d29cda75c24027
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
