← Back to team overview

savoirfairelinux-openerp team mailing list archive

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

 

elhadji.dem@xxxxxxxxxxxxxxxxxxxx has proposed merging lp:~savoirfairelinux-openerp/partner-contact-management/translate_tags_field_into_otherfunctions_view into lp:~savoirfairelinux-openerp/partner-contact-management/base_contact_by_functions.

Requested reviews:
  Sandy Carter (http://www.savoirfairelinux.com) (sandy-carter)

For more details, see:
https://code.launchpad.net/~savoirfairelinux-openerp/partner-contact-management/translate_tags_field_into_otherfunctions_view/+merge/201224

[IMP] redefine the tag field to get translation in french
-- 
https://code.launchpad.net/~savoirfairelinux-openerp/partner-contact-management/translate_tags_field_into_otherfunctions_view/+merge/201224
Your team Savoir-faire Linux' OpenERP is subscribed to branch lp:~savoirfairelinux-openerp/partner-contact-management/base_contact_by_functions.
=== modified file 'base_contact_by_functions/res_partner_view.xml'
--- base_contact_by_functions/res_partner_view.xml	2014-01-03 16:57:29 +0000
+++ base_contact_by_functions/res_partner_view.xml	2014-01-10 16:45:12 +0000
@@ -215,6 +215,14 @@
       <field name="model">res.partner</field>
       <field name="inherit_id" ref="base_contact.view_partner_form_inherit"/>
       <field name="arch" type="xml">
+        <xpath expr="//field[@name='other_contact_ids']/form//field[@name='category_id']"
+                 position="replace">
+            <field name="category_id"
+                 widget="many2many_tags"
+                 placeholder="Tags..."
+                 style="width: 70%%"
+                 string="Tag"/>
+        </xpath>
         <xpath expr="//field[@name='other_contact_ids']/form//field[@name='function']"
                position="after">
           <group colspan="4">


Follow ups