Purpose ======= When this option is enabled, the button to create new properties is invisible. We create a client action instead, and when the user executes client action for the first time, the button becomes visible until the user refreshes the page. This is useful because most of the time, the user will create the properties and then won't change them. So this button uses space unnecessarily in the form view (for the most of the use cases). Task-3188915 Part-of: odoo/odoo#119811
11 lines
425 B
XML
11 lines
425 B
XML
<?xml version="1.0"?>
|
|
<odoo>
|
|
<record id="crm_lead_action_configure_properties_field" model="ir.actions.client">
|
|
<field name="name">Add Properties</field>
|
|
<field name="res_model">crm.lead</field>
|
|
<field name="tag">action_configure_properties_field</field>
|
|
<field name="binding_model_id" ref="crm.model_crm_lead"/>
|
|
<field name="binding_view_types">form</field>
|
|
</record>
|
|
</odoo>
|