Changeset 1072 in main


Ignore:
Timestamp:
04/27/12 15:24:57 (7 years ago)
Author:
agalech
Message:

New management of e-mail generated during the decomposition 3D

Location:
trunk/openPLM/document3D
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/openPLM/document3D/models.py

    r1070 r1072  
    761761            doc_file.document.save()       
    762762            ctrl=get_controller(doc_file.document.type) 
    763             ctrl=ctrl(doc_file.document,user) 
     763            ctrl=ctrl(doc_file.document,user,True) 
    764764            ctrl._save_histo("File generated by decomposition", "file : %s" % doc_file.filename) 
    765765            update_child_files_BD(link.product,user,old_link.product) 
  • trunk/openPLM/document3D/tests/__init__.py

    r1070 r1072  
    1 #from openPLM.document3D.tests.views import * 
     1from openPLM.document3D.tests.views import * 
    22from openPLM.document3D.tests.arborescense import * 
    3 #from openPLM.document3D.tests.decomposer import * 
     3from openPLM.document3D.tests.decomposer import * 
    44 
    55 
  • trunk/openPLM/document3D/views.py

    r1070 r1072  
    217217 
    218218            document_controller=DocumentController(stp_file.document,User.objects.get(username=settings.COMPANY)) 
     219 
    219220            index=[1] 
    220221            if clear_form(request,assemblys,product,index,obj_type): 
Note: See TracChangeset for help on using the changeset viewer.