Changeset 885 in main


Ignore:
Timestamp:
03/12/12 17:58:54 (10 years ago)
Author:
pcosquer
Message:

document3D: views: decompose: do not send mails

File:
1 edited

Legend:

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

    r876 r885  
    386386 
    387387        try:  
    388             part_controller=obj.create_from_form(part_doc_create_form[0],obj._user,False,True) 
     388            part_controller=obj.create_from_form(part_doc_create_form[0],obj._user, True, True) 
    389389            instances.append((part_controller.object._meta.app_label,part_controller.object._meta.module_name, part_controller.object._get_pk_val()))  
    390390 
    391391            ParentChildLink = obj.add_child(part_controller.object,ord_quantity[1],ord_quantity[0],ord_quantity[2])                 
    392392            generate_extra_location_links(links[index],ParentChildLink)  
    393             doc_controller=obj.create_from_form(part_doc_create_form[1],obj._user,False,True)             
     393            doc_controller=obj.create_from_form(part_doc_create_form[1],obj._user, True, True)             
    394394            instances.append((doc_controller.object._meta.app_label,doc_controller.object._meta.module_name, doc_controller.object._get_pk_val())) 
    395395            part_controller.attach_to_document(doc_controller.object) 
     
    601601    my_step_importer=decomposer_all(stp_file,list_doc3D_controller,links,obj._user)                     
    602602    update_indexes.delay(instances) 
     603    # TODO: send one mail listing all created objects 
    603604  
    604605     
Note: See TracChangeset for help on using the changeset viewer.