summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2017-05-15 15:44:05 +0200
committerThibault Delavallée <tde@odoo.com>2017-06-06 11:04:34 +0200
commit8e733b22f84bc2f71a8a85d4c2373741717090a3 (patch)
treede1ef38c35ff9a00e7d86f63ac26163711f86e8e /addons/web_editor/static/src/js
parentb5146643b5f1b8808e1d897c8b43153b11f067d1 (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/js')
0 files changed, 0 insertions, 0 deletions