Browse Source

[FIX] res_partner_affiliate - new affiliates are not company by default

pull/2/head
Lorenzo Battistini 11 years ago
parent
commit
eec9bf1398
  1. 2
      res_partner_affiliate/res_partner_view.xml

2
res_partner_affiliate/res_partner_view.xml

@ -17,7 +17,7 @@
</field> </field>
<page string="Contacts" position="after"> <page string="Contacts" position="after">
<page string="Affiliates" attrs="{'invisible': [('is_company','=',False)]}"> <page string="Affiliates" attrs="{'invisible': [('is_company','=',False)]}">
<field name="affiliate_ids" context="{'default_parent_id': active_id}" mode="kanban">
<field name="affiliate_ids" context="{'default_parent_id': active_id, 'default_is_company': True}" mode="kanban">
<kanban> <kanban>
<field name="color"/> <field name="color"/>
<field name="name"/> <field name="name"/>

Loading…
Cancel
Save