Remove address on complaint

The address field is not used.

issue11770
review433561192
This commit is contained in:
Cédric Krier committed 2022-10-09 18:57:51 +02:00
1 parent 8f05d5be45
commit 71cc9d9cc0
3 files changed
+3 -5

No files matched your search

+2
View File
@@ -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
-3
View File
@@ -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={
+1 -2
View File
@@ -6,10 +6,9 @@ this repository contains the full copyright notices and license terms. -->
<field name="reference"/>
<label name="number"/>
<field name="number"/>
<label name="customer"/>
<field name="customer"/>
<label name="address"/>
<field name="address"/>
<label name="date"/>
<field name="date"/>
<notebook>