summaryrefslogtreecommitdiff
path: root/addons/analytic
diff options
context:
space:
mode:
authorToufik Benjaa <tbe@odoo.com>2018-09-07 17:20:47 +0200
committerToufik Benjaa <tbe@odoo.com>2018-09-07 19:26:51 +0200
commitd78f23df84840b151c20cc3bfccd2104d9ff0ace (patch)
treea11f35aa83bffbd7f142aa15e55610edbeb5c008 /addons/analytic
parentf63bf09cdd5ebcd6e3d112f180a3e2dec275136f (diff)
[FIX] payment,sale_payment: extract code to overridable methods
- We extract some code logic to methods to allow to override them. This is needed for the subscription module where a payment token need to be copied from a transaction to a subscription. The subscriptions is created from a sale order and before the payment.transaction holding the payment.token id is validated. Since the payment.transaction is not validated, the subscription module doesn't find the correct transaction. By extracting this code logic, we can override exactly when it should be.
Diffstat (limited to 'addons/analytic')
0 files changed, 0 insertions, 0 deletions