~txerpa-openerp/sepa-tools/6.0

« back to all changes in this revision

Viewing changes to account_payment_sepa_credit_transfer/wizard/export_sepa.py

  • Committer: Jaume Marti
  • Date: 2014-06-04 15:28:27 UTC
  • Revision ID: jaume.marti@txerpa.com-20140604152827-l6znqzoecg8fwe02
ajustes varios

Show diffs side-by-side

added added

removed removed

Lines of Context:
268
268
        else:
269
269
            nb_of_transactions_1_6.text = str(transactions_count_1_6)
270
270
            control_sum_1_7.text = '%.2f' % amount_control_sum_1_7
 
271
            
 
272
        # Call set_done in payment.order to make payment account moves when
 
273
        # create_account_moves = 'direct-payment'
 
274
        payment_order_ids = context.get('active_ids', [])
 
275
        self.pool.get('payment.order').set_done(cr, uid, payment_order_ids, context)            
 
276
            
271
277
        return self.finalize_sepa_file_creation(
272
278
            cr, uid, ids, xml_root, total_amount, transactions_count_1_6,
273
279
            gen_args, context=context)