Code cleanup

This commit is contained in:
Alexis de Lattre
2018-04-20 23:29:52 +02:00
parent 4e9ca8fc5c
commit 2d9b133cf6

View File

@@ -4,7 +4,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, fields, api, _
from openerp.exceptions import UserError
from odoo.exceptions import UserError
class ResPartner(models.Model):
@@ -44,5 +44,4 @@ class ResPartner(models.Model):
action.update({
'domain': "[('id', 'in', %s)]" % pproducts.ids,
})
print "action=", action
return action