[IMP] website: always display partner of visitor on form view
Hiding fields when they are void is not really helpful. Spotted when working on task ID 2056759 (remove crm.partner.binding mixin) Community PR odoo/odoo#44970 Enterprise PR odoo/enterprise#8307
This commit is contained in:
@@ -203,7 +203,7 @@
|
||||
<group id="general_info">
|
||||
<group string="Visitor Informations">
|
||||
<field name="is_connected" invisible="1"/>
|
||||
<field name="partner_id" attrs="{'invisible': [('partner_id', '=', False)]}"/>
|
||||
<field name="partner_id"/>
|
||||
<field name="email"/>
|
||||
<field name="mobile"/>
|
||||
<field name="country_id" attrs="{'invisible': [('country_id', '=', False)]}"/>
|
||||
|
||||
Reference in New Issue
Block a user