[MIG] base_remote: Migration to 15.0
Co-authored-by: Enric Tobella <etobella@creublanca.es>pull/2915/head
parent
464cc93525
commit
fc79e1b12e
|
@ -3,7 +3,7 @@
|
|||
|
||||
{
|
||||
"name": "Remote Base",
|
||||
"version": "14.0.1.0.0",
|
||||
"version": "15.0.1.0.0",
|
||||
"category": "Generic Modules/Base",
|
||||
"author": "Creu Blanca, Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/server-tools",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
|
||||
from mock import patch
|
||||
from werkzeug.utils import redirect
|
||||
|
||||
from odoo import http
|
||||
from odoo.tests import tagged
|
||||
|
@ -12,8 +11,6 @@ from odoo.tests.common import HttpCase
|
|||
@tagged("post_install", "-at_install")
|
||||
# Skip CSRF validation on tests
|
||||
@patch(http.__name__ + ".WebRequest.validate_csrf", return_value=True)
|
||||
# Skip specific browser forgery on redirections
|
||||
@patch(http.__name__ + ".redirect_with_hash", side_effect=redirect)
|
||||
class TestRemote(HttpCase):
|
||||
def setUp(self):
|
||||
super().setUp()
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<field name="name">res.remote.tree</field>
|
||||
<field name="model">res.remote</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Remotes">
|
||||
<tree>
|
||||
<field name="name" />
|
||||
<field name="ip" />
|
||||
</tree>
|
||||
|
|
Loading…
Reference in New Issue