diff --git a/l10n_id_taxform_bukti_potong_pph_f113309/README.rst b/l10n_id_taxform_bukti_potong_pph_f113309/README.rst new file mode 100644 index 0000000..ee570b5 --- /dev/null +++ b/l10n_id_taxform_bukti_potong_pph_f113309/README.rst @@ -0,0 +1,64 @@ + +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +=================================================== +Indonesia - Bukti Potong PPh 4 Ayat 2 (f.1.1.33.09) +=================================================== + +This module add feature to manage bukti potong PPh 4 Ayat 2 (f.1.33.09) + + +Installation +============ + +To install this module, you need to: + +1. Clone the branch 8.0 of the repository https://github.com/open-synergy/opnsynid-l10n-indonesia +2. Add the path to this repository in your configuration (addons-path) +3. Update the module list +4. Go to menu *Setting -> Modules -> Local Modules* +5. Search For *Indonesia - Bukti Potong PPh 4 Ayat 2 (f.1.1.33.09)* +6. Install the module + +Configuration +============= + + +Usage +===== + + +Known issues / Roadmap +====================== + +* Printed form will be provided on other module + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed +and welcomed feedback. + +Credits +======= + + +Contributors +------------ + +* Andhitia Rama + + +Maintainer +---------- + +.. image:: https://opensynergy-indonesia.com/logo.png + :alt: OpenSynergy Indonesia + :target: https://opensynergy-indonesia.com + +This module is maintained by the OpenSynergy Indonesia. diff --git a/l10n_id_taxform_bukti_potong_pph_f113309/__init__.py b/l10n_id_taxform_bukti_potong_pph_f113309/__init__.py new file mode 100644 index 0000000..3eed7be --- /dev/null +++ b/l10n_id_taxform_bukti_potong_pph_f113309/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 OpenSynergy Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import models diff --git a/l10n_id_taxform_bukti_potong_pph_f113309/__openerp__.py b/l10n_id_taxform_bukti_potong_pph_f113309/__openerp__.py new file mode 100644 index 0000000..9e84217 --- /dev/null +++ b/l10n_id_taxform_bukti_potong_pph_f113309/__openerp__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 OpenSynergy Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +{ + "name": "Indonesia - Bukti Potong PPh 4 Ayat 2 (F.1.1.33.09)", + "version": "8.0.1.0.0", + "category": "localization", + "website": "https://opensynergy-indonesia.com/", + "author": "OpenSynergy Indonesia", + "license": "AGPL-3", + "application": False, + "installable": True, + "depends": [ + "l10n_id_taxform_bukti_potong_pph_common", + ], + "data": [ + "security/ir.model.access.csv", + "data/l10n_id_bukti_potong_type.xml", + "views/bukti_potong_pph_f113309_in_views.xml", + "views/bukti_potong_pph_f113309_out_views.xml", + ], +} diff --git a/l10n_id_taxform_bukti_potong_pph_f113309/data/l10n_id_bukti_potong_type.xml b/l10n_id_taxform_bukti_potong_pph_f113309/data/l10n_id_bukti_potong_type.xml new file mode 100644 index 0000000..73a4bd9 --- /dev/null +++ b/l10n_id_taxform_bukti_potong_pph_f113309/data/l10n_id_bukti_potong_type.xml @@ -0,0 +1,21 @@ + + + + + + + Bukti Potong PPh 4 Ayat 2 - Out + f.1.1.33.09 - Out + out + + + + + Bukti Potong PPh 4 Ayat 2 - In + f.1.1.33.09 - In + in + + + + diff --git a/l10n_id_taxform_bukti_potong_pph_f113309/models/__init__.py b/l10n_id_taxform_bukti_potong_pph_f113309/models/__init__.py new file mode 100644 index 0000000..cbdc133 --- /dev/null +++ b/l10n_id_taxform_bukti_potong_pph_f113309/models/__init__.py @@ -0,0 +1,6 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 OpenSynergy Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import bukti_potong_pph_f113309_in +from . import bukti_potong_pph_f113309_out diff --git a/l10n_id_taxform_bukti_potong_pph_f113309/models/bukti_potong_pph_f113309_in.py b/l10n_id_taxform_bukti_potong_pph_f113309/models/bukti_potong_pph_f113309_in.py new file mode 100644 index 0000000..07227a4 --- /dev/null +++ b/l10n_id_taxform_bukti_potong_pph_f113309/models/bukti_potong_pph_f113309_in.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 OpenSynergy Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from openerp import models, fields, api + + +class BuktiPotongPPhF113309In(models.Model): + _name = "l10n_id.bukti_potong_pph_f113309_in" + _inherit = "l10n_id.bukti_potong_pph" + _table = "l10n_id_bukti_potong_pph" + _description = "Bukti Potong PPh f.1.1.33.09 In" + + @api.model + def _default_type_id(self): + return self.env.ref( + "l10n_id_taxform_bukti_potong_pph_f113309." + "bukti_potong_pph_type_f113309_in").id + + type_id = fields.Many2one( + default=lambda self: self._default_type_id(), + ) + + @api.model + def search(self, args, offset=0, limit=None, order=None): + type_id = self.env.ref( + "l10n_id_taxform_bukti_potong_pph_f113309." + "bukti_potong_pph_type_f113309_in") + args.append(("type_id", "=", type_id.id)) + return super(BuktiPotongPPhF113309In, self).\ + search(args, offset, limit, order) diff --git a/l10n_id_taxform_bukti_potong_pph_f113309/models/bukti_potong_pph_f113309_out.py b/l10n_id_taxform_bukti_potong_pph_f113309/models/bukti_potong_pph_f113309_out.py new file mode 100644 index 0000000..f987129 --- /dev/null +++ b/l10n_id_taxform_bukti_potong_pph_f113309/models/bukti_potong_pph_f113309_out.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 OpenSynergy Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from openerp import models, fields, api + + +class BuktiPotongPPhF113309Out(models.Model): + _name = "l10n_id.bukti_potong_pph_f113309_out" + _inherit = "l10n_id.bukti_potong_pph" + _table = "l10n_id_bukti_potong_pph" + _description = "Bukti Potong PPh f.1.1.33.09 Out" + + @api.model + def _default_type_id(self): + return self.env.ref( + "l10n_id_taxform_bukti_potong_pph_f113309." + "bukti_potong_pph_type_f113309_out").id + + type_id = fields.Many2one( + default=lambda self: self._default_type_id(), + ) + + @api.model + def search(self, args, offset=0, limit=None, order=None): + type_id = self.env.ref( + "l10n_id_taxform_bukti_potong_pph_f113309." + "bukti_potong_pph_type_f113309_out") + args.append(("type_id", "=", type_id.id)) + return super(BuktiPotongPPhF113309Out, self).\ + search(args, offset, limit, order) diff --git a/l10n_id_taxform_bukti_potong_pph_f113309/security/ir.model.access.csv b/l10n_id_taxform_bukti_potong_pph_f113309/security/ir.model.access.csv new file mode 100644 index 0000000..42c49d6 --- /dev/null +++ b/l10n_id_taxform_bukti_potong_pph_f113309/security/ir.model.access.csv @@ -0,0 +1,5 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_bukpot_pph_f113309_in,Bukti Potong PPh (f.1.1.33.09) In - All User,model_l10n_id_bukti_potong_pph_f113309_in,base.group_user,1,0,0,0 +access_bukpot_pph_f113309_in_taxform_user,Bukti Potong PPh (f.1.1.33.09) In - Taxform User,model_l10n_id_bukti_potong_pph_f113309_in,l10n_id_taxform.user_group_taxform,1,1,1,1 +access_bukpot_pph_f113309_out,Bukti Potong PPh (f.1.1.33.09) Out - All User,model_l10n_id_bukti_potong_pph_f113309_out,base.group_user,1,0,0,0 +access_bukpot_pph_f113309_out_taxform_user,Bukti Potong PPh (f.1.1.33.09) Out - Taxform User,model_l10n_id_bukti_potong_pph_f113309_out,l10n_id_taxform.user_group_taxform,1,1,1,1 diff --git a/l10n_id_taxform_bukti_potong_pph_f113309/static/description/icon.png b/l10n_id_taxform_bukti_potong_pph_f113309/static/description/icon.png new file mode 100644 index 0000000..0f884a8 Binary files /dev/null and b/l10n_id_taxform_bukti_potong_pph_f113309/static/description/icon.png differ diff --git a/l10n_id_taxform_bukti_potong_pph_f113309/views/bukti_potong_pph_f113309_in_views.xml b/l10n_id_taxform_bukti_potong_pph_f113309/views/bukti_potong_pph_f113309_in_views.xml new file mode 100644 index 0000000..eea7cf0 --- /dev/null +++ b/l10n_id_taxform_bukti_potong_pph_f113309/views/bukti_potong_pph_f113309_in_views.xml @@ -0,0 +1,64 @@ + + + + + + + Bukti Potong PPh f.11.33.09 In Tree + l10n_id.bukti_potong_pph_f113309_in + primary + + + + + + + + Bukti Potong PPh f.11.33.09 In Form + l10n_id.bukti_potong_pph_f113309_in + primary + + + + + + + [('is_company','=',True),('parent_id','=',False)] + + + + + + + Bukti Potong PPh f.11.33.09 In Search + l10n_id.bukti_potong_pph_f113309_in + primary + + + + + + + + Bukti Potong PPh 22 Ayat 2 (f.1.33.04) In + ir.actions.act_window + l10n_id.bukti_potong_pph_f113309_in + form + tree,form + + {'default_filter_draft':1, 'default_filter_confirm':1} + + + + + + diff --git a/l10n_id_taxform_bukti_potong_pph_f113309/views/bukti_potong_pph_f113309_out_views.xml b/l10n_id_taxform_bukti_potong_pph_f113309/views/bukti_potong_pph_f113309_out_views.xml new file mode 100644 index 0000000..520fed0 --- /dev/null +++ b/l10n_id_taxform_bukti_potong_pph_f113309/views/bukti_potong_pph_f113309_out_views.xml @@ -0,0 +1,64 @@ + + + + + + + Bukti Potong PPh f.11.33.09 Out Tree + l10n_id.bukti_potong_pph_f113309_out + primary + + + + + + + + Bukti Potong PPh f.11.33.09 Out Form + l10n_id.bukti_potong_pph_f113309_out + primary + + + + + + + [('is_company','=',True),('parent_id','=',False)] + + + + + + + Bukti Potong PPh f.11.33.09 Out Search + l10n_id.bukti_potong_pph_f113309_out + primary + + + + + + + + Bukti Potong PPh 4 Ayat 2 (f.1.33.04) Out + ir.actions.act_window + l10n_id.bukti_potong_pph_f113309_out + form + tree,form + + {'default_filter_draft':1, 'default_filter_confirm':1} + + + + + +