~therp-nl/banking-addons/ba61-lp870242-reference_not_on_journal_entry

« back to all changes in this revision

Viewing changes to account_banking/account_banking.py

  • Committer: Stefan Rijnhart
  • Date: 2013-08-30 09:14:27 UTC
  • Revision ID: stefan@therp.nl-20130830091427-zo5u3872b318gfjf
[FIX] Writing move ref fields related is not succesful and unnecessarily complex

Show diffs side-by-side

added added

removed removed

Lines of Context:
501
501
            'period_id': period_id, # AB
502
502
            'date': st_line.date,
503
503
            'name': st_line_number,
 
504
            'ref': st_line.ref,
504
505
        }, context=context)
505
506
        account_bank_statement_line_obj.write(cr, uid, [st_line.id], {
506
507
            'move_ids': [(4, move_id, False)]
524
525
        val = {
525
526
            'name': st_line.name,
526
527
            'date': st_line.date,
527
 
            'ref': st_line.ref,
528
528
            'move_id': move_id,
529
529
            'partner_id': (((st_line.partner_id) and st_line.partner_id.id) or
530
530
                           False),
566
566
        account_move_line_obj.create(cr, uid, {
567
567
            'name': st_line.name,
568
568
            'date': st_line.date,
569
 
            'ref': st_line.ref,
570
569
            'move_id': move_id,
571
570
            'partner_id': (((st_line.partner_id) and st_line.partner_id.id) or
572
571
                           False),