Ignore:
Timestamp:
08/10/12 08:14:59 (8 years ago)
Author:
zali
Message:

Controllers (plmobject) : save histo when a plmobject is cloned

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openPLM/plmapp/controllers/document.py

    r1543 r1565  
    557557                models.DocumentPartLink.objects.create(part=part, 
    558558                    document=new_ctrl.object) 
     559        details = "to %s//%s//%s//%s " %(new_ctrl.type, new_ctrl.reference, new_ctrl.revision, new_ctrl.name) 
     560        self._save_histo("Clone", details) 
    559561        return new_ctrl 
    560562         
Note: See TracChangeset for help on using the changeset viewer.