Skip to content

Commit

Permalink
[FIX] Allows create invoice line display_type
Browse files Browse the repository at this point in the history
  • Loading branch information
renatonlima committed Mar 6, 2021
1 parent d7f5890 commit ba0e473
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions l10n_br_sale/models/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ def action_invoice_create(self, grouped=False, final=False):
# Identify how many Document Types exist
for inv_line in invoice_created_by_super.invoice_line_ids:

if inv_line.display_type:
continue

fiscal_document_type = \
inv_line.fiscal_operation_line_id.get_document_type(
inv_line.invoice_id.company_id)
Expand Down

0 comments on commit ba0e473

Please sign in to comment.