Skip to content

Commit

Permalink
[MIG] webservice: Migration to V12
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiMForgeFlow committed Nov 22, 2024
1 parent f42f152 commit 3492694
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 377 deletions.
2 changes: 1 addition & 1 deletion webservice/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "WebService",
"summary": """
Defines webservice abstract definition to be used generally""",
"version": "13.0.1.0.0",
"version": "12.0.1.0.0",
"license": "AGPL-3",
"development_status": "Production/Stable",
"maintainers": ["etobella"],
Expand Down
2 changes: 1 addition & 1 deletion webservice/security/ir_rule.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<field name="model_id" ref="model_webservice_backend" />
<field
name="domain_force"
>['|',('company_id','=',False),('company_id', 'in', company_ids)]</field>
>['|',('company_id','=',False), ('company_id', 'child_of', [user.company_id.id])]</field>
</record>
</odoo>
3 changes: 2 additions & 1 deletion webservice/tests/common.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright 2020 Creu Blanca
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

import mock
from contextlib import contextmanager
from odoo.tests.common import tagged

from odoo.addons.component.tests.common import TransactionComponentCase
Expand Down
302 changes: 0 additions & 302 deletions webservice/tests/test_oauth2.py

This file was deleted.

Loading

0 comments on commit 3492694

Please sign in to comment.