mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 09:32:07 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2024 Moduon Team S.L.
|
||||
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0) -->
|
||||
<odoo>
|
||||
<record id="crm_lead_view_form_crm_project_project" model="ir.ui.view">
|
||||
<field name="name">CRM Lead Form Create Project</field>
|
||||
<field name="model">crm.lead</field>
|
||||
<field name="inherit_id" ref="crm.crm_lead_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="header" position="inside">
|
||||
<button
|
||||
string="Create Project"
|
||||
name="%(crm_project_create.crm_create_project_action)d"
|
||||
type="action"
|
||||
class="oe_highlight"
|
||||
context="{'default_project_name': name, 'default_lead_id': id}"
|
||||
attrs="{'invisible': ['|', ('active','=',False), ('project_id', '!=', False)]}"
|
||||
/>
|
||||
</xpath>
|
||||
<xpath expr="//group[@name='Misc']" position="inside">
|
||||
<field name="project_id" />
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue