|
@ -180,7 +180,7 @@ class opendons_operation(models.Model): |
|
|
|
|
|
|
|
|
self.quantity=q |
|
|
self.quantity=q |
|
|
self.csv_export=base64.encodestring(data) |
|
|
self.csv_export=base64.encodestring(data) |
|
|
self.document_fname='operation'+str(self.id)+'.csv' |
|
|
|
|
|
|
|
|
self.document_fname=str(self.id)+'_'+self.name+'.csv' |
|
|
self.exported_date=fields.Date.context_today(self) |
|
|
self.exported_date=fields.Date.context_today(self) |
|
|
#generation des exports par lot |
|
|
#generation des exports par lot |
|
|
for batch_export_id in self.batch_export_ids: |
|
|
for batch_export_id in self.batch_export_ids: |
|
|