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
=== modified file 'base_contact_by_functions/res_partner_view.xml'
--- base_contact_by_functions/res_partner_view.xml 2014-02-05 15:54:23 +0000
+++ base_contact_by_functions/res_partner_view.xml 2014-02-12 16:15:50 +0000
@@ -329,7 +329,7 @@
329 </xpath>329 </xpath>
330 have the same form for contact and other postions330 have the same form for contact and other postions
331 <field name="parent_id" position="replace">331 <field name="parent_id" position="replace">
332 <field name="parent_id" placeholder="Organism"332 <field name="parent_id" placeholder="Parent organism"
333 domain="[('is_company','=',True)]"333 domain="[('is_company','=',True)]"
334 attrs="{'invisible': [('is_company','=', False)]}"/>334 attrs="{'invisible': [('is_company','=', False)]}"/>
335 </field>335 </field>
@@ -446,6 +446,7 @@
446 <field name="view_type">form</field>446 <field name="view_type">form</field>
447 <field name="view_mode">kanban,tree,form</field>447 <field name="view_mode">kanban,tree,form</field>
448 <field name="domain">[('is_company','=',1)]</field>448 <field name="domain">[('is_company','=',1)]</field>
449 <field name="context" eval="{'default_is_company': True}"/>
449 <field name="filter" eval="True"/>450 <field name="filter" eval="True"/>
450 </record>451 </record>
451 <!-- Actions for Contacts -->452 <!-- Actions for Contacts -->

Subscribers

People subscribed via source and target branches

to all changes: