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

« back to all changes in this revision

Viewing changes to msf_tools/msf_tools.py

  • Committer: jf
  • Date: 2016-02-09 15:00:57 UTC
  • mfrom: (2764.1.4 unifield-wm)
  • Revision ID: jfb@tempo-consulting.fr-20160209150057-o3add088h41lzitp
Tags: uf2.1-0rc3
US-923 [FIX] Physical inventory tree view + PO follow up per supplier: no tree view
lp:~unifield-team/unifield-wm/us-923

Show diffs side-by-side

added added

removed removed

Lines of Context:
686
686
            if not res:
687
687
                unlink_ids.append(translation.id)
688
688
        if unlink_ids:
689
 
            if self.pool.get('sync.client.entity'):
690
 
                self.purge(cr, uid, unlink_ids, context=context)
691
 
            else:
692
 
                self.unlink(cr, uid, unlink_ids, context=context)
 
689
            self.unlink(cr, uid, unlink_ids, context=context)
693
690
        return
694
691
 
695
692
ir_translation()