~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to import_data/res_partner.py

  • Committer: Quentin THEURET
  • Date: 2011-12-12 08:02:59 UTC
  • mto: This revision was merged to the branch mainline in revision 724.
  • Revision ID: qt@tempo-consulting.fr-20111212080259-oul1f0g37hcpubyc
UF-641 [ADD] Added the empty purchase_followup module

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
        return dict(res)
16
16
        # @@@end
17
17
 
18
 
    def _search_complete_name(self, cr, uid, obj, name, args, context=None):
 
18
    def _search_complete_name(self, cr, uid, obj, name, args, context={}):
19
19
        if not args:
20
20
            return []
21
21
        if args[0][1] != "=":
22
 
            raise osv.except_osv(_('Error !'), _('Filter not implemented on %s')%(name,))
 
22
            raise osv.except_osv(_('Error !'), 'Filter not implemented on %s'%(name,))
23
23
 
24
24
        parent_ids = None
25
25
        for path in args[0][2].split('/'):