diff options
| author | Damien Bouvy <dbo@odoo.com> | 2015-09-21 12:17:08 +0200 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2015-09-21 13:15:58 +0200 |
| commit | f89e8f9df2c4ffaafc846082ac2b252c787e1e65 (patch) | |
| tree | 28d2ebec670ec9ffc93278ddf14c7238ed338cf7 /addons/mass_mailing/static/src/css | |
| parent | 727f7c417555b90f65b58a07accadc451b53776e (diff) | |
[IMP] payment, website_sale, website_payment: unique reference on payment no longer prevent paying
Payment transactions referenceis have a unique constraint which was problematic when a payment was cancelled from the acquirer's page.
To stick the to DRY principle, I factorized a method that checks for existing references and happens a numerical suffix if necessary.
This was already implemented in website_payment but was moved to payment and used in website_sale.
Diffstat (limited to 'addons/mass_mailing/static/src/css')
0 files changed, 0 insertions, 0 deletions
