Skip to content

Commit

Permalink
Merge 98db280 into 4fd5b21
Browse files Browse the repository at this point in the history
  • Loading branch information
mikevhe18 committed Aug 18, 2017
2 parents 4fd5b21 + 98db280 commit 7508ad9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion l10n_id_taxform_bukti_potong_pph_common/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Indonesia - Common Feature for Bukti Potong",
"version": "8.0.3.1.0",
"version": "8.0.3.1.1",
"category": "localization",
"website": "https://opensynergy-indonesia.com/",
"author": "OpenSynergy Indonesia",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,14 @@ def _compute_matrix_line(self, line_ids):
if line_ids:
for line in line_ids:
self.total_bruto += line.amount
val_tarif_persen =\
(line.tax_id.amount * 100)
value = {
'bruto': line.amount,
'tarif': self.tarif,
'pph_dipotong': line.amount_tax,
'tax_code_name': line.tax_code_id.name,
'tarif_persen': line.tax_code_id.info,
'tarif_persen': str(val_tarif_persen) + "%",
}
self.matrix[line.sequence] = value

Expand Down

0 comments on commit 7508ad9

Please sign in to comment.