[FIX] website: Fix the 'unarchive' behaviour

Currently when the 'active' field is exist in model but when not added
to the view then it will only display the 'unarchive' options on action
and it does not works as well.

So Find out some model and to fix that behaviour added the active
invisible field on the view so archive/unarchive should works properly

closes odoo/odoo#46839

Taskid: 2204135
Related: https://github.com/odoo/enterprise/pull/9000
Related: odoo/enterprise#9000
Closes: #46839
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
Vishnu Thuletiya
2020-03-20 12:18:05 +00:00
committed by Barad Mahendra
parent 375b984cc7
commit d426a2cfca
@@ -202,6 +202,7 @@
</div>
<group id="general_info">
<group string="Visitor Informations">
<field name="active" invisible="1"/>
<field name="is_connected" invisible="1"/>
<field name="partner_id"/>
<field name="email"/>