diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-08-28 09:53:01 +0200 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-09-11 09:35:44 +0200 |
| commit | 816f386161f8903d000ffcce0b45de046e02d678 (patch) | |
| tree | ff3c0aed040a89810fc3f7f94acfc97d636831f8 /doc/reference/javascript_reference.rst | |
| parent | f5e145d2b9bc79553ea14876679b1677b59a1c0b (diff) | |
[FIX] mail: action send mail no default_type
Have a send email automated action on invoices upon validation (write)
Go onto the credit notes, create one, and validate
Before this commit, at the creation of the attachment (the invoice pdf), there was a traceback
because default_type was in the context containing 'out_refund'
And that attachments also have a field 'type'
So the default_get of the latter got a value that wasn't correct for its field
After this commit, we clean the context of the default_type context key since it
is irrelevant beyond that point
OPW 1868638
closes #26621
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
