[REF] website_payment: remove website published mixin on payment acquirer

Indeed payment module already adds a website_published button to ease
acquirer management directly in payment without link to website. The
mixin added in website_payment adds a website_url field that has no use
for payment acquirers and is not used at all in the current codebase.
As there is no website url the website publish button method is not
different than the one already implemented in payment. There is
therefore no need for this override, lessening model code in
website payment.
This commit is contained in:
Thibault Delavallée
2017-06-06 11:05:33 +02:00
parent ef2d828463
commit faa9ace977
2 changed files with 0 additions and 8 deletions
@@ -1,2 +1 @@
from . import payment
from . import website
-7
View File
@@ -1,7 +0,0 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import api, fields, models
class PaymentAcquirer(models.Model):
_name = 'payment.acquirer'
_inherit = ['payment.acquirer','website.published.mixin']