From 71cc9d9cc0effa80c28d1a464efcfeb82c202cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 9 Oct 2022 18:57:51 +0200 Subject: [PATCH] Remove address on complaint The address field is not used. issue11770 review433561192 --- CHANGELOG | 2 ++ complaint.py | 3 --- view/complaint_form.xml | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index f887c6b3c5..1a2f2586ba 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,5 @@ +* Remove address on complaint + Version 6.4.0 - 2022-05-02 * Bug fixes (see mercurial logs for details) * Add support for Python 3.10 diff --git a/complaint.py b/complaint.py index 7b8ad8880a..5faf253ea6 100644 --- a/complaint.py +++ b/complaint.py @@ -45,9 +45,6 @@ class Complaint(Workflow, ModelSQL, ModelView): 'company': Eval('company', -1), }, depends={'company'}) - address = fields.Many2One('party.address', 'Address', - domain=[('party', '=', Eval('customer'))], - states=_states) company = fields.Many2One( 'company.company', 'Company', required=True, states={ diff --git a/view/complaint_form.xml b/view/complaint_form.xml index 4886b5dd5f..27a9cafc8a 100644 --- a/view/complaint_form.xml +++ b/view/complaint_form.xml @@ -6,10 +6,9 @@ this repository contains the full copyright notices and license terms. -->