Browse Source

[FIX] Adapt view inheritance of res.partner form to post-v7.0-release changes

Patch courtesy of Marcel van der Boom (HS-Development BV)
pull/7/head
Alexis de Lattre 12 years ago
parent
commit
94d55f0563
  1. 4
      asterisk_click2dial/res_partner_view.xml

4
asterisk_click2dial/res_partner_view.xml

@ -50,13 +50,13 @@
<button name="action_dial_mobile" string="Dial" type="object" attrs="{'invisible':[('mobile','=',False)]}"/> <button name="action_dial_mobile" string="Dial" type="object" attrs="{'invisible':[('mobile','=',False)]}"/>
</group> </group>
</xpath> </xpath>
<xpath expr="//form[@string='Contact']/div/group/field[@name='phone']" position="replace">
<xpath expr="//form[@string='Contact']/sheet/group/field[@name='phone']" position="replace">
<group colspan="2" col="8"> <group colspan="2" col="8">
<field name="phone" colspan="7" /> <field name="phone" colspan="7" />
<button name="action_dial_phone" string="Dial" type="object" attrs="{'invisible':[('phone','=',False)]}"/> <button name="action_dial_phone" string="Dial" type="object" attrs="{'invisible':[('phone','=',False)]}"/>
</group> </group>
</xpath> </xpath>
<xpath expr="//form[@string='Contact']/div/group/field[@name='mobile']" position="replace">
<xpath expr="//form[@string='Contact']/sheet/group/field[@name='mobile']" position="replace">
<group colspan="2" col="8"> <group colspan="2" col="8">
<field name="mobile" colspan="7" /> <field name="mobile" colspan="7" />
<button name="action_dial_mobile" string="Dial" type="object" attrs="{'invisible':[('mobile','=',False)]}"/> <button name="action_dial_mobile" string="Dial" type="object" attrs="{'invisible':[('mobile','=',False)]}"/>

Loading…
Cancel
Save