Do not load company views when module is not activated

issue10407
review340751002
This commit is contained in:
Sergi Almacellas Abellana committed 2021-05-20 10:14:38 +02:00
1 parent 336a2a7c8c
commit 05aed586b3
1 file changed
+1 -1
+1 -1
View File
@@ -2,7 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<data depends="company">
<record model="ir.ui.view" id="company_view_list">
<field name="model">company.company</field>
<field name="inherit" ref="company.company_view_list"/>