~koi-accounting-modules-maintainer/koi-accounting-modules/7.0-fixed-asset

« back to all changes in this revision

Viewing changes to ar_account/object_other/account_invoice.py

  • Committer: Andhitia Rama
  • Date: 2015-07-07 08:35:22 UTC
  • mfrom: (230.1.61 koi_account_trunk)
  • Revision ID: andhitia.r@gmail.com-20150707083522-6kdy511hcop8p64d
Merge dr trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
                return False
117
117
 
118
118
        # create account.move.line for each tax
119
 
        if invoice.tax_lines:
120
 
            for tax in invoice.tax_lines:
 
119
        if invoice.tax_line:
 
120
            for tax in invoice.tax_line:
121
121
                tax_move_line_id = obj_tax._create_account_move_line(cr, uid, tax, move_id)
122
122
 
123
123
                if not tax_move_line_id: