summaryrefslogtreecommitdiff
path: root/addons/payment/models
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2017-10-20 16:38:48 +0200
committerThibault Delavallée <tde@odoo.com>2017-11-27 11:15:06 +0100
commit8b02f7fd67dd0cb9bdd8cfc974456f81d001f0c9 (patch)
tree1072fe13cef6946cabe47bca4e1b744c0aba5491 /addons/payment/models
parent1fbc29a6414d819ed93275634ab691e4c5dc137c (diff)
[MOV] base: move module_* models into models/
Diffstat (limited to 'addons/payment/models')
-rw-r--r--addons/payment/models/payment_acquirer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/payment/models/payment_acquirer.py b/addons/payment/models/payment_acquirer.py
index 68463b359d1..63bf4c1414f 100644
--- a/addons/payment/models/payment_acquirer.py
+++ b/addons/payment/models/payment_acquirer.py
@@ -6,7 +6,7 @@ import datetime
from odoo import api, exceptions, fields, models, _
from odoo.tools import consteq, float_round, image_resize_images, image_resize_image, ustr
-from odoo.addons.base.module import module
+from odoo.addons.base.models import ir_module
from odoo.exceptions import ValidationError
_logger = logging.getLogger(__name__)
@@ -134,7 +134,7 @@ class PaymentAcquirer(models.Model):
# TDE FIXME: remove that brol
module_id = fields.Many2one('ir.module.module', string='Corresponding Module')
- module_state = fields.Selection(selection=module.STATES, string='Installation State', related='module_id.state')
+ module_state = fields.Selection(selection=ir_module.STATES, string='Installation State', related='module_id.state')
image = fields.Binary(
"Image", attachment=True,