diff options
| author | Thibault Delavallée <tde@odoo.com> | 2017-05-15 15:44:05 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-06-06 11:04:34 +0200 |
| commit | 8e733b22f84bc2f71a8a85d4c2373741717090a3 (patch) | |
| tree | de1ef38c35ff9a00e7d86f63ac26163711f86e8e /addons/web_editor/static/src | |
| parent | b5146643b5f1b8808e1d897c8b43153b11f067d1 (diff) | |
[REF] sale_payment: clean code related to so confirmation and invoice generation
Indeed this code is difficult to understand and uses unnecessary
variables. Both confirm_so and generate_and_pay_invoice methods now work
on payment.transaction records as they belong to that model. Finally
less code is put in the try/except of confirm_so to avoid hiding real
errors and issues.
One interesting thing would be to correctly manage so confirmation errors
and mail sending errors. This is currently not done and will maybe be
done in future commits.
Diffstat (limited to 'addons/web_editor/static/src')
0 files changed, 0 insertions, 0 deletions
