mirror of
https://github.com/bringout/oca-ocb-crm.git
synced 2026-04-22 00:32:11 +02:00
Initial commit: Crm packages
This commit is contained in:
commit
21a345b5b9
654 changed files with 418312 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<!-- Called by the plugin to open a lead in edit mode -->
|
||||
<record id="crm_lead_action_form_edit" model="ir.actions.act_window">
|
||||
<field name="name">Lead: redirect form in edit mode</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">crm.lead</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="view_id" ref="crm.crm_lead_view_form"/>
|
||||
<field name="context">
|
||||
{
|
||||
'form_view_initial_mode': 'edit',
|
||||
}
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<!--deprecated as of saas-14.3-->
|
||||
<record id="lead_creation_prefilled_action" model="ir.actions.server">
|
||||
<field name="name">Redirection to the lead creation form with prefilled info</field>
|
||||
<field name="type">ir.actions.server</field>
|
||||
<field name="model_id" ref="model_crm_lead"/>
|
||||
<field name="state">code</field>
|
||||
<field name="code">action = model._form_view_auto_fill()</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue