Changeset 12146
- Timestamp:
- 4 Dec 2014, 18:11:46 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba/customers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/export.py
r12143 r12146 189 189 omit=['translated_state', 190 190 'formatted_transition_date', 191 'translated_class_name']))) 191 'translated_class_name', 192 'is_editable', 193 'is_approvable']))) 192 194 193 195 #: The title under which this exporter will be displayed -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests/test_export.py
r12143 r12146 254 254 result, 255 255 'class_name,contract_category,contract_id,document_object,' 256 'history, is_editable,last_product_id,last_transition_date,'256 'history,last_product_id,last_transition_date,' 257 257 'product_object,state,title\r\n' 258 258 259 'SampleContract,sample,c101,,[], 1,,,,,\r\n'259 'SampleContract,sample,c101,,[],,,,,\r\n' 260 260 ) 261 261 return … … 270 270 self.assertMatches( 271 271 'class_name,contract_category,contract_id,document_object,' 272 'history, is_editable,last_product_id,last_transition_date,'272 'history,last_product_id,last_transition_date,' 273 273 'product_object,state,title\r\n' 274 274 275 275 'SampleContract,sample,c101,d101,[u\'2014-12-04 12:10:46 UTC - ' 276 'Contract record created by system\'], 0,,'276 'Contract record created by system\'],,' 277 277 '2014-12-04 12:10:46.333445#,SAM,created,My Contract\r\n', 278 278 result … … 289 289 self.assertMatches( 290 290 'class_name,contract_category,contract_id,document_object,' 291 'history, is_editable,last_product_id,last_transition_date,'291 'history,last_product_id,last_transition_date,' 292 292 'product_object,state,title\r\n' 293 293 294 294 'SampleContract,sample,c101,d101,[u\'2014-12-04 12:10:46 UTC - ' 295 'Contract record created by system\'], 0,,'295 'Contract record created by system\'],,' 296 296 '2014-12-04 12:10:46.333445#,SAM,created,My Contract\r\n', 297 297 result … … 308 308 self.assertMatches( 309 309 'class_name,contract_category,contract_id,document_object,' 310 'history, is_editable,last_product_id,last_transition_date,'310 'history,last_product_id,last_transition_date,' 311 311 'product_object,state,title\r\n' 312 312 313 313 'SampleContract,sample,c101,d101,[u\'2014-12-04 12:10:46 UTC - ' 314 'Contract record created by system\'], 0,,'314 'Contract record created by system\'],,' 315 315 '2014-12-04 12:10:46.333445#,SAM,created,My Contract\r\n', 316 316 result
Note: See TracChangeset for help on using the changeset viewer.