diff options
| author | Vishnu Thuletiya <vtu@odoo.com> | 2020-03-04 08:42:39 +0000 |
|---|---|---|
| committer | Barad Mahendra <mba@openerp.com> | 2020-03-20 12:18:05 +0000 |
| commit | d426a2cfca83e0cacf4bbc4ff87cb28c0b839574 (patch) | |
| tree | 5f6b7ebee01188ef380ef2a79ffbc70d5912b8d4 | |
| parent | 375b984cc7594c2f1cf8402d18520ea6ec6ed1b6 (diff) | |
[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>
| -rw-r--r-- | addons/website/views/website_visitor_views.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/website/views/website_visitor_views.xml b/addons/website/views/website_visitor_views.xml index f46e4372758..1932520ddd0 100644 --- a/addons/website/views/website_visitor_views.xml +++ b/addons/website/views/website_visitor_views.xml @@ -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"/> |
