From 07b309ccd6171fce2f21e36eb979baa944decf4b Mon Sep 17 00:00:00 2001 From: Patrick Wilson <36892066+patrickrwilson@users.noreply.github.com> Date: Tue, 25 Aug 2020 13:45:34 -0500 Subject: [PATCH] [IMP] Service Profile Copy True --- agreement_serviceprofile/__manifest__.py | 2 +- agreement_serviceprofile/models/agreement.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/agreement_serviceprofile/__manifest__.py b/agreement_serviceprofile/__manifest__.py index 834e9a582..3977ca750 100644 --- a/agreement_serviceprofile/__manifest__.py +++ b/agreement_serviceprofile/__manifest__.py @@ -4,7 +4,7 @@ { 'name': 'Agreement Service Profile', 'summary': "Adds an Agreement Service Profile object", - 'version': '12.0.1.1.1', + 'version': '12.0.1.1.2', 'category': 'Contract', 'author': 'Pavlov Media, ' 'Open Source Integrators, ' diff --git a/agreement_serviceprofile/models/agreement.py b/agreement_serviceprofile/models/agreement.py index ac4361a29..dbc42a49b 100644 --- a/agreement_serviceprofile/models/agreement.py +++ b/agreement_serviceprofile/models/agreement.py @@ -9,4 +9,5 @@ class Agreement(models.Model): serviceprofile_ids = fields.One2many('agreement.serviceprofile', 'agreement_id', - string="Service Profiles") + string="Service Profiles", + copy=True)