Merge lp:~savoirfairelinux-openerp/partner-contact-management/change_value_organism into lp:~savoirfairelinux-openerp/partner-contact-management/base_contact_by_functions

Status: Merged
Merged at revision: 46
Proposed branch: lp:~savoirfairelinux-openerp/partner-contact-management/change_value_organism
Merge into: lp:~savoirfairelinux-openerp/partner-contact-management/base_contact_by_functions
Diff against target: 20 lines (+2/-1)
1 file modified
base_contact_by_functions/res_partner_view.xml (+2/-1)
To merge this branch: bzr merge lp:~savoirfairelinux-openerp/partner-contact-management/change_value_organism
Reviewer Review Type Date Requested Status
Sandy Carter (http://www.savoirfairelinux.com) Approve
Review via email: mp+205999@code.launchpad.net

Description of the change

- In partner view form: organism = parent organism
- When we create a new organism , the default values of is_company field is true.

To post a comment you must log in.
Revision history for this message
Sandy Carter (http://www.savoirfairelinux.com) (sandy-carter) wrote :

LGTM, you can go ahead and merge this yourself

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'base_contact_by_functions/res_partner_view.xml'
2--- base_contact_by_functions/res_partner_view.xml 2014-02-05 15:54:23 +0000
3+++ base_contact_by_functions/res_partner_view.xml 2014-02-12 16:15:50 +0000
4@@ -329,7 +329,7 @@
5 </xpath>
6 have the same form for contact and other postions
7 <field name="parent_id" position="replace">
8- <field name="parent_id" placeholder="Organism"
9+ <field name="parent_id" placeholder="Parent organism"
10 domain="[('is_company','=',True)]"
11 attrs="{'invisible': [('is_company','=', False)]}"/>
12 </field>
13@@ -446,6 +446,7 @@
14 <field name="view_type">form</field>
15 <field name="view_mode">kanban,tree,form</field>
16 <field name="domain">[('is_company','=',1)]</field>
17+ <field name="context" eval="{'default_is_company': True}"/>
18 <field name="filter" eval="True"/>
19 </record>
20 <!-- Actions for Contacts -->

Subscribers

People subscribed via source and target branches

to all changes: