Skip to content

Commit

Permalink
[REF] l10n_it_reverse_charge: pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
SirAionTech committed Sep 8, 2023
1 parent cee984b commit 8912503
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions l10n_it_reverse_charge/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ def _compute_rc_flag(self):
move = line.move_id
# see invoice_line_ids field definition
is_invoice_line = line.display_type in (
'product', 'line_section', 'line_note'
"product",
"line_section",
"line_note",
)
is_rc = (
move.is_purchase_document()
Expand All @@ -33,9 +35,7 @@ def _compute_rc_flag(self):
)
line.rc = is_rc

rc = fields.Boolean(
"RC", compute="_compute_rc_flag", store=True, readonly=False
)
rc = fields.Boolean("RC", compute="_compute_rc_flag", store=True, readonly=False)


class AccountMove(models.Model):
Expand Down

0 comments on commit 8912503

Please sign in to comment.