diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-09-10 15:48:01 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-09-10 15:56:05 +0200 |
| commit | 63a5bc8c5f6f814246453f7a9f6980285f47e4d2 (patch) | |
| tree | 0f6d67bae4d880aca896123ede58ed00db008351 /addons/web_editor/static/src/js/transcoder.js | |
| parent | d7eb2c0397d68f8028567d2a88c7c24e2fd7e439 (diff) | |
[FIX] website_quote: default quote template values
Once the website_quote module installed,
the "default template" is set by default
on all new quotations.
There is an onchange on the field `template_id`,
setting some values according to the template,
including the description in the website quote.
When creating the quotation / sale order from
the web interface, the on change is triggered,
and the values related to the template are correctly
loaded.
However, when the quotation is created through
the code or the API, the default `template_id` was
correctly set, but as the onchange wasn't triggered,
as onchanges are automatically triggered only
through the webclient creations, the related values,
issued from the template, were not, such as
the quote website description, or the date expiration,
and so on.
In particular, this happen when creating a quotation from
an opportunity, through the "Convert to quotation"
button.
opw-648920
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions
