-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] partner_prospect: Migration to 11.0
- Loading branch information
Showing
6 changed files
with
102 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,50 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<openerp> | ||
<data> | ||
<record id="res_partner_prospect_form_view" model="ir.ui.view"> | ||
<field name="name">res.partner.prospect.form</field> | ||
<field name="model">res.partner</field> | ||
<field name="inherit_id" ref="base.view_partner_form" /> | ||
<field name="arch" type="xml"> | ||
<label for="street" position="before"> | ||
<field name="prospect" /> | ||
</label> | ||
</field> | ||
</record> | ||
<odoo> | ||
<data> | ||
<record id="res_partner_prospect_form_view" model="ir.ui.view"> | ||
<field name="name">res.partner.prospect.form</field> | ||
<field name="model">res.partner</field> | ||
<field name="inherit_id" ref="base.view_partner_form" /> | ||
<field name="arch" type="xml"> | ||
<label for="street" position="before"> | ||
<field name="prospect" /> | ||
</label> | ||
</field> | ||
</record> | ||
|
||
<record id="res_partner_prospect_tree_view" model="ir.ui.view"> | ||
<field name="name">res.partner.prospect.tree</field> | ||
<field name="model">res.partner</field> | ||
<field name="inherit_id" ref="base.view_partner_tree" /> | ||
<field name="arch" type="xml"> | ||
<field name="email" position="after"> | ||
<field name="prospect" /> | ||
</field> | ||
<record id="res_partner_prospect_tree_view" model="ir.ui.view"> | ||
<field name="name">res.partner.prospect.tree</field> | ||
<field name="model">res.partner</field> | ||
<field name="inherit_id" ref="base.view_partner_tree" /> | ||
<field name="arch" type="xml"> | ||
<field name="email" position="after"> | ||
<field name="prospect" /> | ||
</field> | ||
</record> | ||
</field> | ||
</record> | ||
|
||
<record id="res_partner_prospect_search_view" model="ir.ui.view"> | ||
<field name="name">res.partner.prospect.search</field> | ||
<field name="model">res.partner</field> | ||
<field name="inherit_id" ref="base.view_res_partner_filter" /> | ||
<field name="arch" type="xml"> | ||
<filter string="Suppliers" position="after"> | ||
<separator/> | ||
<filter string="Actual Customer" name="noprospect" domain="[('prospect','=',False)]"/> | ||
<filter string="Prospect" name="prospect" domain="[('prospect','=',True)]"/> | ||
</filter> | ||
<group string="Group By" position="inside"> | ||
<filter string="Prospect" domain="[]" context="{'group_by':'prospect'}"/> | ||
</group> | ||
</field> | ||
</record> | ||
<record id="res_partner_prospect_search_view" model="ir.ui.view"> | ||
<field name="name">res.partner.prospect.search</field> | ||
<field name="model">res.partner</field> | ||
<field name="inherit_id" ref="base.view_res_partner_filter" /> | ||
<field name="arch" type="xml"> | ||
<filter name="supplier" position="after"> | ||
<separator/> | ||
<filter string="Actual Customer" name="noprospect" domain="[('prospect','=',False)]"/> | ||
<filter string="Prospect" name="prospect" domain="[('prospect','=',True)]"/> | ||
</filter> | ||
<group name="group_by" position="inside"> | ||
<filter string="Prospect" domain="[]" context="{'group_by':'prospect'}"/> | ||
</group> | ||
</field> | ||
</record> | ||
|
||
<record id="base.action_partner_form" model="ir.actions.act_window"> | ||
<field name="context">{"search_default_customer": 1, "search_default_noprospect": 1}</field> | ||
</record> | ||
|
||
<record id="base.action_partner_form" model="ir.actions.act_window"> | ||
<field name="context">{"search_default_customer": 1, "search_default_noprospect": 1}</field> | ||
</record> | ||
</data> | ||
</openerp> | ||
<record id="base.action_partner_customer_form" model="ir.actions.act_window"> | ||
<field name="context">{'default_customer':1, 'search_default_customer':1, 'search_default_noprospect': 1, 'default_company_type': 'company','default_is_company': 1}</field> | ||
</record> | ||
</data> | ||
</odoo> |