Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions partner_multi_relation/README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=================
Partner Relations
=================
Expand All @@ -17,7 +13,7 @@ Partner Relations
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github
Expand Down
10 changes: 5 additions & 5 deletions partner_multi_relation/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Copyright 2013-2022 Therp BV <http://therp.nl>.
# Copyright 2013-2025 Therp BV <http://therp.nl>.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Partner Relations",
"version": "16.0.1.5.0",
"version": "16.0.2.0.0",
"author": "Therp BV,Camptocamp,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/partner-contact",
"complexity": "normal",
Expand All @@ -12,11 +12,11 @@
"demo": ["data/demo.xml"],
"data": [
"security/ir.model.access.csv",
"views/res_partner_relation_all.xml",
"views/res_partner.xml",
"views/res_partner_relation_type.xml",
"views/res_partner_relation.xml",
"views/res_partner.xml",
"views/ir_actions_act_window.xml",
"views/ir_ui_menu.xml",
"views/menu.xml",
],
"auto_install": False,
"installable": True,
Expand Down
14 changes: 14 additions & 0 deletions partner_multi_relation/migrations/16.0.2.0.0/post-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2025 Therp BV <http://therp.nl>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import logging

from openupgradelib import openupgrade

logger = logging.getLogger(__name__)


@openupgrade.migrate()
def migrate(env, version):
logger.info("Delete obsolete SQL views")
env.cr.execute("DROP VIEW IF EXISTS res_partner_relation_all;")
env.cr.execute("DROP VIEW IF EXISTS res_partner_relation_type_selection;")
2 changes: 0 additions & 2 deletions partner_multi_relation/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import res_partner_relation_type
from . import res_partner_relation_type_selection
from . import res_partner_relation
from . import res_partner_relation_all
from . import res_partner
Loading