[PATCH] Adapt partner_form adjustment for v7 changes

Bug #1173918 reported by Marcel van der Boom (HS-Development BV) on 2013-04-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP-Asterisk connector
Undecided
Unassigned

Bug Description

--- asterisk_click2dial/res_partner_view.xml 2013-04-12 20:10:51 +0000
+++ asterisk_click2dial/res_partner_view.xml 2013-04-28 11:14:44 +0000
@@ -50,13 +50,13 @@
                 <button name="action_dial_mobile" string="Dial" type="object" attrs="{'invisible':[('mobile','=',False)]}"/>
             </group>
         </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">
                 <field name="phone" colspan="7" />
                 <button name="action_dial_phone" string="Dial" type="object" attrs="{'invisible':[('phone','=',False)]}"/>
             </group>
         </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">
                 <field name="mobile" colspan="7" />
                 <button name="action_dial_mobile" string="Dial" type="object" attrs="{'invisible':[('mobile','=',False)]}"/>

Alexis de Lattre (alexis-via) wrote :

Thank you very much for your patch Marcel. It has been commited in revno 84 (trunk branch).

Changed in openerp-asterisk-connector:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers