Indonesia's PPh 21 Taxform Related Configuration and Computation
l10n_id_taxform_pph_21 · OCA/l10n-indonesia
Health
45/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 118 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis
18 migration notes
8 models
11 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
Pph21NpwpRateModifier— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourcePph21Rate— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourcePph21Rate— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) (2 occurrences in this file) migration-api-multi-one · sourcePph21TunjanganJabatan— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourcePph21TunjanganJabatan— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · sourcePtkp— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. (2 occurrences in this file) migration-sql-constraints · sourcePtkpCategory— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) (2 occurrences in this file) migration-api-multi-one · sourceResPartner— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourcepph_21_biaya_jabatan_view_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcepph_21_npwp_rate_modifier_view_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcepph_21_rate_view_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceptkp_category_view_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). (2 occurrences in this file) migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 11
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
pph_21_biaya_jabatan_view_form |
form l10n_id.pph_21_biaya_jabatan | l10n_id.pph_21_biaya_jabatan | form | New |
pph_21_biaya_jabatan_view_tree |
tree l10n_id.pph_21_biaya_jabatan | l10n_id.pph_21_biaya_jabatan | tree | New |
pph_21_npwp_rate_modifier_view_form |
form l10n_id.pph_21_npwp_rate_modifier | l10n_id.pph_21_npwp_rate_modifier | form | New |
pph_21_npwp_rate_modifier_view_tree |
tree l10n_id.pph_21_npwp_rate_modifier | l10n_id.pph_21_npwp_rate_modifier | tree | New |
pph_21_rate_view_form |
form l10n_id.pph_21_rate | l10n_id.pph_21_rate | form | New |
pph_21_rate_view_tree |
tree l10n_id.pph_21_rate | l10n_id.pph_21_rate | tree | New |
ptkp_category_view_form |
form l10n_id.ptkp_category | l10n_id.ptkp_category | form | New |
ptkp_category_view_tree |
tree l10n_id.ptkp_category | l10n_id.ptkp_category | tree | New |
ptkp_view_form |
form l10n_id.ptkp | l10n_id.ptkp | form | New |
ptkp_view_tree |
tree l10n_id.ptkp | l10n_id.ptkp | tree | New |
res_partner_view_form |
form res.partner taxform information | res.partner | form | Inherits account.view_partner_property_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 8
New fields (4)
-
date_startDaterequired=Truestring='Tanggal Mulai Berlaku' -
max_biaya_jabatanFloatrequired=Truestring='Max. Biaya Jabatan' -
nameCharrequired=Truestring='Dasar Hukum' -
rate_biaya_jabatanFloatrequired=Truestring='Rate Biaya Jabatan'
-
find(self, dt=None)@api.model -
get_biaya_jabatan(self, jumlah_penghasilan_rutin=0.0, jumlah_penghasilan_non_rutin=0.0, tanggal_pemotongan=False)@api.multi -
get_biaya_jabatan_non_rutin(self, jumlah_penghasilan_non_rutin=0.0, biaya_jabatan_rutin=0.0, tanggal_pemotongan=False)@api.multi -
get_biaya_jabatan_rutin(self, jumlah_penghasilan_rutin=0.0, tanggal_pemotongan=False)@api.multi
New fields (3)
-
date_startDaterequired=Truestring='Tanggal Mulai Berlaku' -
nameCharrequired=Truestring='Dasar Hukum' -
pph_rate_modifierFloatrequired=Truestring='PPh Rate Modifier'
-
find(self, dt=None)@api.model -
get_rate(self, dt=None)@api.model
New fields (3)
-
date_startDaterequired=Truestring='Tanggal Mulai Berlaku' -
line_idsOne2many → l10n_id.pph_21_rate_linecomodel_name='l10n_id.pph_21_rate_line'inverse_name='rate_id'string='PPh 21 Rate Detail' -
nameCharrequired=Truestring='Dasar Hukum'
-
compute_tax(self, penghasilan_kena_pajak)@api.multi -
find(self, dt=None)@api.model
New fields (3)
-
min_incomeFloatrequired=Truestring='Min. Income' -
pph_rateFloatstring='PPh 21 Rate' -
rate_idMany2one → l10n_id.pph_21_ratecomodel_name='l10n_id.pph_21_rate'ondelete='cascade'string='PPh 21 Rate'
-
compute_tax(self, penghasilan_kena_pajak, next_line)@api.multi
New fields (3)
-
date_startDaterequired=Truestring='Tanggal Mulai Berlaku' -
line_idsOne2many → l10n_id.ptkp_linecomodel_name='l10n_id.ptkp_line'inverse_name='ptkp_id'string='Detail Tarif' -
nameCharrequired=Truestring='Dasar Hukum'
-
find(self, dt=None)@api.model -
get_rate(self, ptkp_category)@api.multi
New fields (2)
-
nameCharrequired=Truestring='Category' -
noteTextstring='Additional Note'
-
get_rate(self, dt=None)@api.multi
New fields (3)
-
ptkp_category_idMany2one → l10n_id.ptkp_categorycomodel_name='l10n_id.ptkp_category'required=Truestring='PTKP Category' -
ptkp_idMany2one → l10n_id.ptkpcomodel_name='l10n_id.ptkp'ondelete='cascade'string='PTKP' -
ptkp_rateFloatrequired=Truestring='Tarif PTKP'
No public methods.
New fields (1)
-
ptkp_category_idMany2one → l10n_id.ptkp_categorycomodel_name='l10n_id.ptkp_category'string='PTKP Category'
-
compute_pph_21_2110001(self, bulan_bergabung=1, tanggal_pemotongan=False, gaji=0.0, tunjangan_pph=0.0, tunjangan_lain=0.0, jumlah_penghasilan_non_rutin=0.0, pensiun=0.0)@api.multi