Skip to content

Commit

Permalink
adj
Browse files Browse the repository at this point in the history
  • Loading branch information
AungKoKoLin1997 committed Nov 12, 2024
1 parent 7f0ce68 commit 9fc7824
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 25 deletions.
1 change: 0 additions & 1 deletion l10n_jp_summary_invoice/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"data": [
"reports/report.xml",
"reports/report_summary_invoice.xml",
"views/account_account_tag_views.xml",
"views/account_billing_views.xml",
],
"installable": True,
Expand Down
1 change: 0 additions & 1 deletion l10n_jp_summary_invoice/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
from . import account_billing
from . import account_account_tag
10 changes: 0 additions & 10 deletions l10n_jp_summary_invoice/models/account_account_tag.py

This file was deleted.

2 changes: 1 addition & 1 deletion l10n_jp_summary_invoice/models/account_billing.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def _get_tax_summary_from_invoices(self):
tax_summary = {}
for line in self.billing_line_ids:
invoice = line.move_id
for tax_line in invoice.line_ids.filtered(lambda l: l.tax_line_id):
for tax_line in invoice.line_ids.filtered(lambda line: line.display_type == 'tax' or (line.display_type == 'rounding' and line.tax_repartition_line_id)):
tax = tax_line.tax_line_id
tax_summary[tax] = tax_summary.get(tax, 0) + tax_line.credit
return tax_summary
Expand Down
12 changes: 0 additions & 12 deletions l10n_jp_summary_invoice/views/account_account_tag_views.xml

This file was deleted.

0 comments on commit 9fc7824

Please sign in to comment.