From 5c2064739ef84a31164ad9209a3dbf8f73c24b28 Mon Sep 17 00:00:00 2001 From: Raf Ven Date: Wed, 28 Apr 2021 16:17:24 +0200 Subject: [PATCH] [IMP] partner_multi_relation: black, isort --- partner_multi_relation/__manifest__.py | 2 +- partner_multi_relation/models/res_partner_relation_all.py | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/partner_multi_relation/__manifest__.py b/partner_multi_relation/__manifest__.py index 038526af0..da90fca28 100644 --- a/partner_multi_relation/__manifest__.py +++ b/partner_multi_relation/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { "name": "Partner Relations", - "version": "13.0.1.1.0", + "version": "14.0.1.0.0", "author": "Therp BV,Camptocamp,Odoo Community Association (OCA)", "website": "https://github.com/OCA/partner-contact", "complexity": "normal", diff --git a/partner_multi_relation/models/res_partner_relation_all.py b/partner_multi_relation/models/res_partner_relation_all.py index 3e40af830..e77900ff5 100644 --- a/partner_multi_relation/models/res_partner_relation_all.py +++ b/partner_multi_relation/models/res_partner_relation_all.py @@ -399,8 +399,7 @@ CREATE OR REPLACE VIEW %%(table)s AS @api.model def _get_type_selection_from_vals(self, vals): - """Get type_selection_id straight from vals or compute from type_id. - """ + """Get type_selection_id straight from vals or compute from type_id.""" type_selection_id = vals.get("type_selection_id", False) if not type_selection_id: type_id = vals.get("type_id", False) @@ -469,8 +468,7 @@ CREATE OR REPLACE VIEW %%(table)s AS base_resource.unlink() def unlink(self): - """For model 'res.partner.relation' call unlink on underlying model. - """ + """For model 'res.partner.relation' call unlink on underlying model.""" for rec in self: try: base_resource = rec.get_base_resource()